Skip to content

chore: cleanup release process #1

chore: cleanup release process

chore: cleanup release process #1

Workflow file for this run

# Release Tag workflow
name: release_tag
# TODO(Actions):
# - [ ] check that last commit is the CHANGES edit
# - [ ] infer the last RC version
# - [ ] run bumpver.py with the new version
# - [ ] push the commit and new tag
on:
workflow_dispatch: # on manual trigger
pull_request: # FIXME(before-merge): remove this trigger
jobs:
new-tag:
runs-on: ubuntu-latest
env:
CHANGES_FILE: CHANGES.rst
steps:
- uses: actions/checkout@v3
- id: get-diff
uses: technote-space/get-diff-action@v6
with:
FILES: |
${{ env.CHANGES_FILE }}
SET_ENV_NAME_COUNT: true
- id: check-changes
run: |
echo ${{ steps.get-diff.outputs.diff }}
echo ${{ steps.get-diff.outputs.count }}