Skip to content

Commit

Permalink
fix: Use version env variable in publishing version const
Browse files Browse the repository at this point in the history
  • Loading branch information
rmch91 committed Mar 15, 2024
1 parent 6af2780 commit 82b4a55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/minor-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@ jobs:
- name: Update Publishing Version
run: |
version="${{ env.major }}.${{ env.minor }}.${{ env.patch }}"
version="${{ env.version }}" # Use the full version
sed -i "s/export const PUBLISHING_VERSION = '.*';/export const PUBLISHING_VERSION = '$version';/" ./tools/config/const.ts
echo "Updated PUBLISHING_VERSION in ./tools/config/const.ts."

- name: Package installation
run: npm ci
Expand Down

0 comments on commit 82b4a55

Please sign in to comment.