Skip to content

Commit

Permalink
update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LordLumineer committed Nov 12, 2023
1 parent 9baaac9 commit 39ab56d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Get Previous Version
id: get_previous_version
run: |
PREVIOUS_VERSION=$(git show origin/main:FastAPI.py | grep -oP "API_VERSION = '\K[0-9.]+" )
PREVIOUS_VERSION=$(git show origin/main:ThroneAPI.py | grep -oP "API_VERSION = '\K[0-9.]+" )
if [ -z "$PREVIOUS_VERSION" ]; then
echo "::set-output name=version::0.0.0" # Set a default version for the first commit
else
Expand Down

0 comments on commit 39ab56d

Please sign in to comment.