Skip to content

Commit

Permalink
create the release!
Browse files Browse the repository at this point in the history
  • Loading branch information
aloneguid committed Jun 24, 2023
1 parent cbd8acc commit b814cd2
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,22 @@ jobs:
workflow: build.yml
workflow_conclusion: success

- name: set version environment variable
- name: 🔍 view artifacts to be used
run: ls -R
working-directory: .

- name: 🔢 set version environment variable
run: |
echo "VERSION=$(cat bin/version.txt)" >> "$GITHUB_ENV"
- name: debug
run: echo ${{ env.VERSION }}

# https://github.com/softprops/action-gh-release
#- name: create gh release
# uses: softprops/action-gh-release@v1
# if: github.ref == 'refs/heads/master'
# with:
# tag_name: ${{ env.VERSION }}
# name: ${{ env.VERSION }}
# files: |
# bin/*.msi
# bin/*.zip
# generate_release_notes: true

- name: debug
run: ls -R
working-directory: .
- name: 📦 create release
uses: softprops/action-gh-release@v1
if: github.ref == 'refs/heads/master'
with:
tag_name: ${{ env.VERSION }}
name: ${{ env.VERSION }}
files: |
bin/*.msi
bin/*.zip
body_path: bin/release-notes.txt

0 comments on commit b814cd2

Please sign in to comment.