Compare commits
3 commits
08002cfb08
...
5bfcd0b6ea
Author | SHA1 | Date | |
---|---|---|---|
5bfcd0b6ea | |||
70337bda40 | |||
ff4b4b0f07 |
1 changed files with 19 additions and 24 deletions
43
.github/workflows/release.yml
vendored
43
.github/workflows/release.yml
vendored
|
@ -3,8 +3,7 @@ name: Release
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags: '2*'
|
||||||
- 'v*'
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
@ -16,17 +15,13 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
LC_TIME: en_US.UTF-8
|
LC_TIME: en_US.UTF-8
|
||||||
|
TODAY: $(date +'%d %b %Y')
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
# - uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
# - name: Build with Gradle
|
- name: Build with Gradle
|
||||||
# run: ./gradlew assembleDist
|
run: ./gradlew assembleDist
|
||||||
|
|
||||||
- name: Create bogus release
|
|
||||||
run: |
|
|
||||||
mkdir -p build/distributions
|
|
||||||
touch build/distributions/hogus-bogus.zip
|
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
uses: actions/forgejo-release@v2
|
uses: actions/forgejo-release@v2
|
||||||
|
@ -34,23 +29,23 @@ jobs:
|
||||||
direction: upload
|
direction: upload
|
||||||
url: https://code.host.antville.org
|
url: https://code.host.antville.org
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
title: $(date +'%d %b %Y')
|
title: ${{ env.TODAY }}
|
||||||
#tag: $(date +'%Y.%m.%d')
|
#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
|
# FIXME: Currently only outputs gh command; adapt for Forgejo
|
||||||
# run: |
|
run: |
|
||||||
# echo gh release create "$GITHUB_REF_NAME" \
|
echo gh release create "$GITHUB_REF_NAME" \
|
||||||
# --repo "$GITHUB_REPOSITORY" \
|
--repo "$GITHUB_REPOSITORY" \
|
||||||
# --title "$(date +'%d %b %Y')" \
|
--title "$(date +'%d %b %Y')" \
|
||||||
# --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
|
# FIXME: Currently only outputs gh command; adapt for Forgejo
|
||||||
# run: |
|
run: |
|
||||||
# echo gh release upload "$GITHUB_REF_NAME" \
|
echo gh release upload "$GITHUB_REF_NAME" \
|
||||||
# build/distributions/helma-*.* \
|
build/distributions/helma-*.* \
|
||||||
# --clobber
|
--clobber
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue