Skip to content

Commit

Permalink
chore: fix wrong version detection in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandkakonyi committed Sep 11, 2023
1 parent 7f9ddcd commit 664c072
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/finish-release-train.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Detect version number
id: version_number
run: |
version_number="$(npm view bitmovin-player-react-native version)"
version_number="$(jq --raw-output '.version' package.json)"
echo "Detected version number: $version_number"
echo "version_number=$version_number" >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/start-release-train.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Bump package.json version
run: |
npm version ${{ inputs.version_number }} --no-git-tag-version
yarn version --new-version ${{ inputs.version_number }} --no-git-tag-version
- name: Update Podfile.lock
run: |
Expand Down

0 comments on commit 664c072

Please sign in to comment.