Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
Merge pull request #23 from tiki-bar/release/fix-versioning
Browse files Browse the repository at this point in the history
fix: namespace issues w/ xml
  • Loading branch information
mike-audi authored Aug 28, 2023
2 parents 3183be9 + 973ffcc commit b186b9c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:

- name: Get Version
id: version
run: echo "current=$(xmlstarlet sel -t -v '/project/version' common/pom.xml)" >> $GITHUB_OUTPUT
run: echo "current=$(xmlstarlet sel -t -m _:project -v _:version common/pom.xml)" >> $GITHUB_OUTPUT

- name: Create Release
uses: ncipollo/release-action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
branch: ${{ steps.getpr.outputs.branch }}

- name: Update Version
run: xmlstarlet ed -L -u "/project/version" -v "${{ steps.semver.outputs.nextStrict }}" common/pom.xml
run: xmlstarlet ed -L -u "_:project/_:version" -v "${{ steps.semver.outputs.nextStrict }}" common/pom.xml

- name: Commit Changes
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.mytiki</groupId>
<artifactId>ocean-common</artifactId>
<version>0.0.6</version>
<version>0.0.7</version>
<packaging>jar</packaging>
<name>TIKI Ocean Common Library</name>
<description>Library for common Ocean classes</description>
Expand Down

0 comments on commit b186b9c

Please sign in to comment.