Skip to content

Commit

Permalink
Trying fix hash 8
Browse files Browse the repository at this point in the history
  • Loading branch information
benchdoos committed Oct 22, 2023
1 parent 017da36 commit 74a4366
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,20 +109,22 @@ jobs:
# echo files:
# find . -type f -print

- name: Echo GITHUB_OUTPUT
run: echo $GITHUB_OUTPUT

- name: Create Draft Release
- name: Echo files
run: |
echo current location: $PWD
ls -a
ls-a
- name: Echo variables
run: |
RELEASE_NAME=rc-${GITHUB_REF#refs/heads/}-build.$BUILD_ID
RELEASE_TAG=${GITHUB_REF#refs/heads/}-build.$BUILD_ID
echo Release name: $RELEASE_NAME
echo Just from outputs: "${{ needs.build.outputs.WEBLOCOPENERCORE_HASH }} | ${{ needs.build.outputs.WEBLOCOPENER_HASH }}"
- name: Create Draft Release
run: |
echo WeblocOpenerCore hash: ${{ needs.build.outputs.WEBLOCOPENERCORE_HASH }}
echo WeblocOpener hash: ${{ needs.build.outputs.WEBLOCOPENER_HASH }}
echo Release name: $RELEASE_NAME
gh release create $RELEASE_TAG WeblocOpener.deb WeblocOpenerSetup.exe --title "Build release: $RELEASE_NAME" --notes "Build: $(date +'%Y-%m-%d %H:%M:%S') ($RELEASE_TAG) <br><br> WeblocOpener: $WEBLOCOPENER_HASH <br> WeblocOpenerCore: $WEBLOCOPENERCORE_HASH" --draft --prerelease
gh release create $RELEASE_TAG WeblocOpener.deb WeblocOpenerSetup.exe --title "Build release: $RELEASE_NAME" --notes "Build: $(date +'%Y-%m-%d %H:%M:%S') ($RELEASE_TAG) <br><br> WeblocOpener: ${{ needs.build.outputs.WEBLOCOPENER_HASH }} <br> WeblocOpenerCore: ${{ needs.build.outputs.WEBLOCOPENERCORE_HASH }}" --draft --prerelease
env:
GITHUB_TOKEN: ${{ secrets.WEBLOCOPENER_RELEASES }}

Expand Down

0 comments on commit 74a4366

Please sign in to comment.