Re-enable creating the release at Github after install of gh client
All checks were successful
Release / build (push) Successful in 26s
All checks were successful
Release / build (push) Successful in 26s
This commit is contained in:
parent
2c6dd96cd7
commit
1bb5a093da
1 changed files with 5 additions and 8 deletions
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
||||||
runs-on: antville
|
runs-on: antville
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
LC_TIME: en_US.UTF-8
|
LC_TIME: en_US.UTF-8
|
||||||
TODAY: $(date +'%d %b %Y')
|
TODAY: $(date +'%d %b %Y')
|
||||||
|
|
||||||
|
@ -30,22 +30,19 @@ jobs:
|
||||||
url: https://code.host.antville.org
|
url: https://code.host.antville.org
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
title: ${{ env.TODAY }}
|
title: ${{ env.TODAY }}
|
||||||
#tag: $(date +'%Y.%m.%d')
|
|
||||||
release-dir: build/distributions
|
release-dir: build/distributions
|
||||||
release-notes-assistant: true
|
release-notes-assistant: true
|
||||||
verbose: true
|
verbose: true
|
||||||
|
|
||||||
- name: Create release at GitHub
|
- name: Create release at GitHub
|
||||||
# FIXME: Currently only outputs gh command; adapt for Forgejo
|
|
||||||
run: |
|
run: |
|
||||||
echo gh release create "$GITHUB_REF_NAME" \
|
gh release create "$GITHUB_REF_NAME" \
|
||||||
--repo "$GITHUB_REPOSITORY" \
|
--repo "$GITHUB_REPOSITORY" \
|
||||||
--title "$(date +'%d %b %Y')" \
|
--title "${{ env.TODAY }}" \
|
||||||
--generate-notes
|
--generate-notes
|
||||||
|
|
||||||
- name: Upload release assets to GitHub
|
- name: Upload release assets to GitHub
|
||||||
# FIXME: Currently only outputs gh command; adapt for Forgejo
|
|
||||||
run: |
|
run: |
|
||||||
echo gh release upload "$GITHUB_REF_NAME" \
|
gh release upload "$GITHUB_REF_NAME" build/distributions/helma-*.* \
|
||||||
build/distributions/helma-*.* \
|
--repo "$GITHUB_REPOSITORY" \
|
||||||
--clobber
|
--clobber
|
||||||
|
|
Loading…
Add table
Reference in a new issue