Skip to content

Commit

Permalink
Revert "Fix version conflit (#48)"
Browse files Browse the repository at this point in the history
This reverts commit bb6b6f2.
  • Loading branch information
RubelMozumder authored Sep 23, 2024
1 parent bb6b6f2 commit dd13970
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check_citation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
- name: Compare versions
run: |
if [ "$PACKAGE_VERSION" != "$CITATION_VERSION" ]; then
echo "Version mismatch: package version is $PACKAGE_VERSION, CITATION.cff version is $CITATION_VERSION"
echo "Version mismatch: package version is $ PACKAGE_VERSION, CITATION.cff version is $ CITATION_VERSION"
exit 1
fi
echo "All versions match: $GIT_TAG_VERSION"
echo "All versions match: $ GIT_TAG_VERSION"
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
# Extract the version from the tag (e.g., 'v1.0.0' becomes '1.0.0')
GIT_TAG_VERSION=${GITHUB_REF#refs/tags/v}
echo "GIT_TAG_VERSION=$GIT_TAG_VERSION" >> $GITHUB_ENV
echo "Version from Git tag: $GIT_TAG_VERSION"
echo "Version from Git tag: $ GIT_TAG_VERSION"
- name: Citation version
id: citation_version
run: |
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Compare versions
run: |
if [ "$GIT_TAG_VERSION" != "$CITATION_VERSION" ]; then
echo "Version mismatch: Git tag version is $GIT_TAG_VERSION, CITATION.cff version is $CITATION_VERSION"
echo "Version mismatch: Git tag version is $ GIT_TAG_VERSION, CITATION.cff version is $ CITATION_VERSION"
exit 1
fi
- name: Build package
Expand Down

0 comments on commit dd13970

Please sign in to comment.