Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[FEATURE] Check for package version to match git tag in release workflow
  • Loading branch information
Ferdia Soper Mac Cafraidh committed Sep 23, 2024
commit e79c8555c928e1fda8e0abfa7186cb1e83fc328c
6 changes: 6 additions & 0 deletions .github/workflows/dispatch-release-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:
- name: Check out code
uses: actions/checkout@v3

# grep exits with a non-zero exit code if a match is not found
- name: Check Library Version matches ${{ github.ref_name }}
id: check_version
run: |
grep "${{ github.ref_name }}" learnosity_sdk/_version.py

- name: Set up Python
uses: actions/setup-python@v2
with:
Expand Down