Skip to content

Commit

Permalink
I forfeit
Browse files Browse the repository at this point in the history
  • Loading branch information
infeo committed Oct 30, 2020
1 parent 9550a57 commit d5ec35d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/buildAndRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ jobs:
- name: Extract version from tag and set it as project version (windows)
if: runner.os == 'Windows' && startsWith(github.ref, 'refs/tags/')
run: |
$v = ${GITHUB_REF} -replace 'refs/tags/',''
${GITHUB_REF}
$v
$v = ${env:GITHUB_REF} -replace 'refs/tags/',''
mvn versions:set --file pom.xml "-DnewVersion=${v}"
- name: Build with Maven
run: mvn -B package --file pom.xml
Expand Down

0 comments on commit d5ec35d

Please sign in to comment.