Skip to content

Commit

Permalink
Merge pull request #8 from dl1998/development
Browse files Browse the repository at this point in the history
Update version
  • Loading branch information
dl1998 authored Sep 5, 2023
2 parents 8463cf9 + 1816e80 commit 3b29b3f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ on:
branches:
- main
workflow_dispatch:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions: write-all
jobs:
run:
permissions: write-all
permissions:
contents: write
pull-requests: read
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -55,3 +60,13 @@ jobs:
path: README.md
# Should center align the badges
center: false
- name: Release Version
id: version
run: echo "VERSION=$(python3 setup.py --version)" >> "$GITHUB_ENV"
- name: Show version
run: echo $VERSION
- uses: rymndhng/release-on-push-action@master
with:
bump_version_scheme: norelease
use_github_release_notes: true
release_name: "Release $VERSION"
14 changes: 1 addition & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ on:
push:
branches:
- main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
prepare:
permissions: write-all
Expand Down Expand Up @@ -36,14 +34,4 @@ jobs:
- name: Publish package distributions to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: "https://test.pypi.org/legacy/"
- name: Release Version
id: version
run: echo "VERSION=$(python3 setup.py --version)" >> "$GITHUB_ENV"
- name: Show version
run: echo $VERSION
- uses: rymndhng/release-on-push-action@master
with:
bump_version_scheme: norelease
use_github_release_notes: true
release_name: "Release $VERSION"
repository-url: "https://test.pypi.org/legacy/"

0 comments on commit 3b29b3f

Please sign in to comment.