Skip to content

Commit 0e7d30a

Browse files
committed
Fix action for release generation
1 parent 41bc122 commit 0e7d30a

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

.github/workflows/deploy-stable.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -116,23 +116,20 @@ jobs:
116116
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
117117

118118
- name: Create Release
119-
id: create_release
120-
uses: actions/create-release@latest
121119
env:
122120
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
123-
with:
124-
tag_name: "v${{ env.VERSION }}"
125-
release_name: "v${{ env.VERSION }}"
126-
body: |
127-
See the [changelog](CHANGELOG.md) for details.
128-
draft: false
129-
prerelease: false
121+
tag: ${{ env.VERSION }}
122+
run: |
123+
gh release create "v$tag" \
124+
--repo="$GITHUB_REPOSITORY" \
125+
--title="v$tag" \
126+
--notes="See the [changelog](CHANGELOG.md) for details."
130127
131128
dispatch:
132129
needs: deploy
133130
strategy:
134131
matrix:
135-
repo: ['oscarlevin/pretext-docker', 'pretextbook/html-static']
132+
repo: ['pretextbook/pretext-docker', 'pretextbook/html-static']
136133
runs-on: ubuntu-latest
137134
steps:
138135
- name: Repository Dispatch

0 commit comments

Comments
 (0)