Re-enable creating the release at Github after install of gh client
All checks were successful
Release / build (push) Successful in 26s

This commit is contained in:
Tobi Schäfer 2025-02-15 19:07:37 +01:00
parent 2c6dd96cd7
commit 1bb5a093da
Signed by: tobi
GPG key ID: 91FAE6FE2EBAC4C8

View file

@ -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