Skip to content

Commit

Permalink
Merge pull request #13 from Tranquility2/release_sanity
Browse files Browse the repository at this point in the history
Release sanity
  • Loading branch information
Tranquility2 authored Apr 20, 2024
2 parents e687506 + 7536ed4 commit 0118546
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,14 @@ jobs:
- name: Check Version
id: get_version
run: |
version=$(git describe --tags --abbrev=0)
echo "Got Version: $version"
echo "version=$version" >> $GITHUB_OUTPUT
git_version=$(git describe --tags --abbrev=0)
file_version=$(python -c "from xls_updater import __version__; print(__version__)")
if [ "$git_version" != "$file_version" ]; then
echo "Version mismatch: git=$git_version, file=$file_version"
exit 1
fi
echo "Got Version: $git_version"
echo "git_version=$git_version" >> $GITHUB_OUTPUT
- name: Download Binary Artifact
uses: actions/download-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion xls_updater/__about__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Version of the package - This file is generated by semvergit"""

__version__ = "0.2.1"
__version__ = "0.2.3"

0 comments on commit 0118546

Please sign in to comment.