Skip to content

Commit

Permalink
fix14
Browse files Browse the repository at this point in the history
  • Loading branch information
Esteban Lascourreges committed Nov 14, 2023
1 parent 2007e2d commit 12a8934
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci-RC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ jobs:
- name: Get Previous Version
id: get_previous_version
run: |
git fetch --all
echo "dep_VERSION=$(git show origin/main:ThroneAPI.py | grep -oP "API_VERSION = \"\K[0-9.]+" ThroneAPI.py || echo "0.0.0")"
echo "PRod_VERSION=$(git show origin/latest:ThroneAPI.py | grep -oP "API_VERSION = \"\K[0-9.]+" ThroneAPI.py || echo "0.0.0")"
echo "PREVIOUS_VERSION=$(git show origin/RC:ThroneAPI.py | grep -oP "API_VERSION = \"\K[0-9.]+" ThroneAPI.py || echo "0.0.0")"
git fetch RC
version=$(git show origin/RC:ThroneAPI.py | grep -oP "API_VERSION = \"\K[0-9.]+" ThroneAPI.py || echo "0.0.0")
echo "Version: $version"
echo "PREVIOUS_VERSION=$version" >> $GITHUB_ENV
Expand Down

0 comments on commit 12a8934

Please sign in to comment.