Skip to content

Commit

Permalink
Merge pull request #65 from adamtheturtle/simplify-release
Browse files Browse the repository at this point in the history
Simplify release process by removing action
  • Loading branch information
adamtheturtle authored Sep 18, 2024
2 parents 3f4b48c + d916c43 commit 78ae537
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ jobs:
# See
# https://github.com/stefanzweifel/git-auto-commit-action?tab=readme-ov-file#push-to-protected-branches
token: ${{ secrets.RELEASE_PAT }}
# Fetch all history including tags.
# Needed to find the latest tag.
fetch-depth: 0

- name: "Set up Python"
uses: actions/setup-python@v5
Expand All @@ -45,12 +42,6 @@ jobs:
curl -LsSf https://astral.sh/uv/install.sh | sh
uv pip install --system --upgrade --editable .[dev]
- name: Get current version
id: get_current_version
run: |
version="$(git describe --tags --abbrev=0)"
echo "version=${version}" >> "$GITHUB_OUTPUT"
- name: "Calver calculate version"
uses: StephaneBour/actions-calver@master
id: calver
Expand Down Expand Up @@ -164,7 +155,7 @@ jobs:
env:
NEXT_VERSION: ${{ steps.calver.outputs.release }}
with:
find: ${{ steps.get_current_version.outputs.version }}
find: ${{ steps.tag_version.outputs.previous_tag }}
replace: ${{ env.NEXT_VERSION }}
include: "README.rst"
regex: false
Expand Down

0 comments on commit 78ae537

Please sign in to comment.