diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87b82ed..7b5e1e8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index 8c43a83..3b34bb2 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -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 diff --git a/common/pom.xml b/common/pom.xml index 058db48..1374cb3 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -7,7 +7,7 @@ 4.0.0 com.mytiki ocean-common - 0.0.6 + 0.0.7 jar TIKI Ocean Common Library Library for common Ocean classes