Skip to content

Commit

Permalink
Merge branch 'main' into feature-async
Browse files Browse the repository at this point in the history
  • Loading branch information
Garulf committed Feb 25, 2024
2 parents dfddbb9 + 4325b63 commit 48955bc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,26 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VER }}
- name: Bump manifest version from tag
run: |
tag = $GITHUB_REF
content=$(jq --arg tag $tag '.Version = $tag' ./src/plugin.json)
echo $content > ./src/plugin.json
- name: Build
run: make build
- name: Dist
run: make dist
- name: Package
run: make package
- name: Get version
id: version
run: echo ::set-output name=version::$(jq -r .Version ./src/plugin.json)
- name: Get zip name
id: zipname
run: echo ::set-output name=zipname::$(make zipname)
- name: Publish
uses: softprops/action-gh-release@v1
with:
draft: false
prerelease: ${{ contains(steps.version.outputs.version, '-')}}
prerelease: ${{ contains(github.ref, '-')}}
files: "./${{steps.zipname.outputs.zipname}}"
tag_name: "v${{steps.version.outputs.version}}"
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 48955bc

Please sign in to comment.