Skip to content

Commit

Permalink
Merge pull request #199 from keeps/mguimaraes-patch-1
Browse files Browse the repository at this point in the history
Update release workflow
  • Loading branch information
luis100 authored Aug 7, 2023
2 parents 46b20df + 2580ade commit c1ab604
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- "**"

jobs:
deploy:
release:
runs-on: ubuntu-latest

steps:
Expand All @@ -24,7 +24,7 @@ jobs:
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Set POM Version
run: mvn versions:set versions:commit -DnewVersion=${{ github.ref }}
run: mvn versions:set versions:commit -DnewVersion=${{ github.ref_name }}
- name: Build Jar
run: mvn --batch-mode clean package -P cli
env:
Expand All @@ -36,9 +36,9 @@ jobs:
- name: Release to GitHub
uses: softprops/action-gh-release@v1
with:
name: Version ${{ github.ref }}
tag_name: ${{ github.ref }}
name: Version ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
draft: true
files: target/commons-ip2-cli-${{ github.ref }}.jar
files: target/commons-ip2-cli-${{ github.ref_name }}.jar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c1ab604

Please sign in to comment.