Skip to content

Commit

Permalink
Update maven-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nithin-sudarsan authored Jul 18, 2023
1 parent f58bc77 commit 06c09eb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ jobs:
with:
java-version: '11'
distribution: 'adopt'
- name: Set new version
run: |
NEW_VERSION="1.1.1" # Replace this with the new version you want to set
sed -i "s/<version>.*<\/version>/<version>${NEW_VERSION}<\/version>/" pom.xml
env:
NEW_VERSION: '1.2.0' # Replace with the version you want to set for your project (artifact).
- name: Publish package
run: mvn --batch-mode deploy
env:
Expand Down

0 comments on commit 06c09eb

Please sign in to comment.