Skip to content

Commit

Permalink
Merge pull request #26434 from oscarbenjamin/pr_release_github_docs
Browse files Browse the repository at this point in the history
release: use GH_TOKEN for GitHub release
  • Loading branch information
oscarbenjamin committed Mar 31, 2024
2 parents 5bf06af + 837752e commit cdc5705
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
- '1.12'
env:
release_branch: '1.12'
release_version: '1.12.1a3'
release_version: '1.12.1a4'
final_release_version: '1.12.1'
previous_version: '1.12'
dev_version: '1.13-dev'
Expand Down Expand Up @@ -158,6 +158,8 @@ jobs:
path: dist

- name: Create GitHub release
env:
GH_TOKEN: ${{ github.token }}
run: >
gh release create ${{ env.release_version }} dist/*
--title "SymPy ${{ env.release_version }}"
Expand All @@ -176,9 +178,11 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v3
- name: Checkout sympy
uses: actions/checkout@v3

- uses: actions/checkout@v3
- name: Checkout sympy_doc
uses: actions/checkout@v3
with:
repository: sympy/sympy_doc
ref: gh-pages
Expand Down
2 changes: 1 addition & 1 deletion sympy/release.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.12.1a3"
__version__ = "1.12.1a4"

0 comments on commit cdc5705

Please sign in to comment.