hack: Disable GitHub release creation for now.
This commit is contained in:
parent
c5bfcbaab0
commit
3c6d7d9cd6
1 changed files with 14 additions and 21 deletions
29
.github/workflows/release.yml
vendored
29
.github/workflows/release.yml
vendored
|
@ -12,12 +12,13 @@ on:
|
|||
paths:
|
||||
- VERSION
|
||||
tags-ignore:
|
||||
- '*'
|
||||
- "*"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: >-
|
||||
github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch' || github.event_name == 'push'
|
||||
github.event.pull_request.merged == true || github.event_name ==
|
||||
'workflow_dispatch' || github.event_name == 'push'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
packages: write
|
||||
|
@ -36,16 +37,18 @@ jobs:
|
|||
with:
|
||||
github_token: ${{secrets.GITHUB_TOKEN}}
|
||||
custom_tag: ${{ steps.get_version.outputs.version }}
|
||||
tag_prefix: ''
|
||||
tag_prefix: ""
|
||||
|
||||
- name: Get previous Git tag
|
||||
id: get_prev_version
|
||||
run: echo "version=$(git describe --abbrev=0 --tags "$(git describe --abbrev=0 --tags)~") >> $GITHUB_OUTPUT"
|
||||
run:
|
||||
echo "version=$(git describe --abbrev=0 --tags "$(git describe
|
||||
--abbrev=0 --tags)~") >> $GITHUB_OUTPUT"
|
||||
|
||||
- name: Make sparse changelog (1/2)
|
||||
uses: heinrichreimer/github-changelog-generator-action@v2.1.1
|
||||
with:
|
||||
token: '${{secrets.GITHUB_TOKEN}}'
|
||||
token: "${{secrets.GITHUB_TOKEN}}"
|
||||
issues: true
|
||||
issuesWoLabels: true
|
||||
pullRequests: true
|
||||
|
@ -61,7 +64,7 @@ jobs:
|
|||
- name: Make full changelog
|
||||
uses: heinrichreimer/github-changelog-generator-action@v2.1.1
|
||||
with:
|
||||
token: '${{secrets.GITHUB_TOKEN}}'
|
||||
token: "${{secrets.GITHUB_TOKEN}}"
|
||||
issues: true
|
||||
issuesWoLabels: true
|
||||
pullRequests: true
|
||||
|
@ -73,20 +76,10 @@ jobs:
|
|||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
with:
|
||||
commit_message: >-
|
||||
chore: Update changelog for tag ${{steps.get_version.outputs.version}}.
|
||||
chore: Update changelog for tag
|
||||
${{steps.get_version.outputs.version}}.
|
||||
file_pattern: CHANGELOG.md
|
||||
|
||||
- name: Release on GitHub
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
body_path: SPARSE_CHANGELOG.md
|
||||
files: |
|
||||
LICENSE
|
||||
docker-compose.yml
|
||||
repository: greysoh/nextnet
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
tag_name: ${{ steps.get_version.outputs.version }}
|
||||
|
||||
- name: Log in to GitHub container registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue