Skip to content

Commit

Permalink
Simplify script
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoan Nguyen committed Aug 6, 2024
1 parent 8b63dea commit ff9845c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,7 @@ jobs:
run: |
xml ed -L -u "//_:project/_:version" -v "${{ inputs.release_version }}" $POM_FILE
sed -i 's/"version": "[^"]*"/"version": "${{ inputs.release_version }}"/' $PACKAGE_FILE
git push origin :refs/tags/${{ inputs.release_version }}
git tag -d ${{ inputs.release_version }}
git tag -a ${{ inputs.release_version }} -m "Released ${{ inputs.release_version }} by ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
git tag ${{ inputs.release_version }}
git push origin ${{ inputs.release_version }}
build:
Expand Down

0 comments on commit ff9845c

Please sign in to comment.