Skip to content

Commit 4ff5aeb

Browse files
authored
Do not fail for existing tags
1 parent d7ef221 commit 4ff5aeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/maven-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
git config --global user.name "Bob the Builder"
3636
git add pom.xml
3737
git commit -m "updating version to ${{ github.event.inputs.version }} in pom"
38-
git tag -a v${{ github.event.inputs.version }} -m "tagging version ${{ github.event.inputs.version }}"
38+
git tag -f -a v${{ github.event.inputs.version }} -m "tagging version ${{ github.event.inputs.version }}"
3939
git push --tags
4040
mvn --batch-mode deploy -Ppublish
4141
env:

0 commit comments

Comments
 (0)