Skip to content

Commit

Permalink
Fix even more version references in publish steps
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfsauer0815 committed Nov 20, 2020
1 parent 59d683c commit 15f13ba
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
uses: actions/checkout@v2

- name: Set version
run: echo "VERSION=$(echo "$GITHUB_REF" | sed 's|^v||')" >> $GITHUB_ENV

run: echo "VERSION=$(echo "$GITHUB_REF" | sed 's|refs/tags/v||')" >> $GITHUB_ENV

- name: Print version
run: echo "$VERSION"
Expand Down Expand Up @@ -48,7 +49,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./build/libs/assertj-jsoup-{{ env.VERSION }}.jar
asset_path: ./build/libs/assertj-jsoup-${{ env.VERSION }}.jar
asset_name: assertj-jsoup-${{ env.VERSION }}.jar
asset_content_type: application/java-archive

Expand All @@ -60,5 +61,5 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./build/libs/assertj-jsoup-${{ env.VERSION }}-sources.jar
asset_name: assertj-jsoup-{{ env.VERSION }}-sources.jar
asset_name: assertj-jsoup-${{ env.VERSION }}-sources.jar
asset_content_type: application/java-archive

0 comments on commit 15f13ba

Please sign in to comment.