Refactor release workflow: uncomment and configure push changes, build changelog, and create release steps
This commit is contained in:
@@ -55,34 +55,34 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo ${{ env.VERSION }}
|
echo ${{ env.VERSION }}
|
||||||
cat pyproject.toml
|
cat pyproject.toml
|
||||||
# - name: Push changes
|
- name: Push changes
|
||||||
# uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
# with:
|
with:
|
||||||
# github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# branch: ${{ github.ref }}
|
branch: ${{ github.ref }}
|
||||||
|
|
||||||
# - name: Build Changelog
|
- name: Build Changelog
|
||||||
# id: build_changelog
|
id: build_changelog
|
||||||
# uses: https://github.com/mikepenz/release-changelog-builder-action@v5
|
uses: https://github.com/mikepenz/release-changelog-builder-action@v5
|
||||||
# with:
|
with:
|
||||||
# mode: "COMMIT"
|
mode: "COMMIT"
|
||||||
# platform: "gitea"
|
platform: "gitea"
|
||||||
# baseURL: "http://gitea:3000"
|
baseURL: "http://gitea:3000"
|
||||||
# configuration: ".gitea/changelog-config.json"
|
configuration: ".gitea/changelog-config.json"
|
||||||
# env:
|
env:
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
|
||||||
|
|
||||||
# - name: Create release
|
- name: Create release
|
||||||
# id: create_release
|
id: create_release
|
||||||
# if: ${{ github.event.inputs.github_release == 'true' }}
|
if: ${{ github.event.inputs.github_release == 'true' }}
|
||||||
# uses: softprops/action-gh-release@master
|
uses: softprops/action-gh-release@master
|
||||||
# with:
|
with:
|
||||||
# tag_name: ${{ env.VERSION }}
|
tag_name: ${{ env.VERSION }}
|
||||||
# release_name: Release ${{ env.VERSION }}
|
release_name: Release ${{ env.VERSION }}
|
||||||
# body: ${{steps.build_changelog.outputs.changelog}}
|
body: ${{steps.build_changelog.outputs.changelog}}
|
||||||
# draft: false
|
draft: false
|
||||||
# prerelease: false
|
prerelease: false
|
||||||
# make_latest: true
|
make_latest: true
|
||||||
# env:
|
env:
|
||||||
# GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user