Skip to content

Commit

Permalink
fix: python build needs python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Forattini committed Aug 2, 2022
1 parent c2092b6 commit ea21d9e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/svc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ jobs:
Release-Python:
runs-on: ubuntu-latest
needs:
- Tests-Node
- Tests-Python
- Static-Analysis

outputs:
Expand Down Expand Up @@ -321,11 +321,12 @@ jobs:
files: '[]'
npmPlugin: false

- name: Current Version
- name: Next Version
id: versioning
run: |
echo "::set-output name=version::$(cat package.json | jq -r '.version')"
echo -e "\n\nINFO current version = $(cat package.json | jq -r '.version')\n\n"
NEXT_VERSION=$(git for-each-ref --sort=authordate --format '%(refname)' refs/tags | tail -n 1 | sed -n -e 's/^.*refs\/tags\/v//p')
echo "next version = $NEXT_VERSION"
echo "::set-output name=version::$NEXT_VERSION"
#--------------------------------------------------#
Expand Down

0 comments on commit ea21d9e

Please sign in to comment.