aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/python-publish.yml42
1 files changed, 21 insertions, 21 deletions
diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml
index 346d4e22..06f509b6 100644
--- a/.github/workflows/python-publish.yml
+++ b/.github/workflows/python-publish.yml
@@ -50,26 +50,26 @@ jobs:
PDM_PUBLISH_PASSWORD: ${{ secrets.PDM_PUBLISH_PASSWORD }}
PDM_PUBLISH_USERNAME: ${{ secrets.PDM_PUBLISH_USERNAME }}
- # - name: Get Changelog
- # id: get-changelog
- # run: |
- # awk '/-{3,}/{flag=1;next}/Release/{if (flag==1)exit}flag' CHANGELOG.md > .changelog.md
+ - name: Get Changelog
+ id: get-changelog
+ run: |
+ awk '/-{3,}/{flag=1;next}/Release/{if (flag==1)exit}flag' CHANGELOG.md > .changelog.md
- # - name: Create Release
- # uses: actions/create-release@main
- # env:
- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- # with:
- # tag_name: ${{ github.ref }}
- # release_name: v${{ github.ref }}
- # body_path: .changelog.md
- # draft: false
- # prerelease: ${{ steps.check_version.outputs.PRERELEASE }}
+ - name: Create Release
+ uses: actions/create-release@main
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ tag_name: ${{ github.ref }}
+ release_name: v${{ github.ref }}
+ body_path: .changelog.md
+ draft: false
+ prerelease: ${{ steps.check_version.outputs.PRERELEASE }}
- # - name: Trigger Bucket Update
- # uses: benc-uk/workflow-dispatch@v1
- # with:
- # workflow: Excavator
- # repo: frostming/scoop-frostming
- # token: ${{ secrets.G_T }}
- # ref: master \ No newline at end of file
+ - name: Trigger Bucket Update
+ uses: benc-uk/workflow-dispatch@v1
+ with:
+ workflow: Excavator
+ repo: frostming/scoop-frostming
+ token: ${{ secrets.G_T }}
+ ref: master \ No newline at end of file