Skip to content

Commit

Permalink
Merge pull request #80 from berylliumsec/setting_max_tokens
Browse files Browse the repository at this point in the history
fixing build
  • Loading branch information
berylliumsec-handler authored Feb 4, 2025
2 parents c1b745a + f9bef0f commit 053fd82
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,19 @@ jobs:
NEW_VERSION=$(grep '^version =' pyproject.toml | sed 's/version = "\(.*\)"/\1/')
echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT
# Commit and push the bumped version if there are changes.
- name: Commit bumped version
run: |
git config --global user.email "david@berylliumsec.com"
git config --global user.name "David I"
git add pyproject.toml
git commit -m "Bump version to ${NEW_VERSION}"
git push
if ! git diff-index --quiet HEAD; then
NEW_VERSION=$(grep '^version =' pyproject.toml | sed 's/version = "\(.*\)"/\1/')
git commit -m "Bump version to $NEW_VERSION"
git push
else
echo "No changes to commit"
fi
- name: Setup Conda Environment
uses: conda-incubator/setup-miniconda@v2
Expand Down

0 comments on commit 053fd82

Please sign in to comment.