Skip to content

Commit

Permalink
Patch both lib and package.json (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
dany-pellerin authored Jan 8, 2025
1 parent 82af6ab commit 7b018e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ jobs:
name: dist-lib
path: lib/dist

# Step will fail if the version is invalid, github.ref_name is the tag name (v.*.*.*)
- name: Patch version
run: ./scripts/patch-version.sh "${{ github.ref_name }}"

- name: Setup registry access
run: |
echo '@optable:registry=https://registry.npmjs.org/' > ~/.npmrc
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ jobs:
- name: Setup npm
uses: ./.github/actions/setup-npm

# Step will fail if the version is invalid, github.ref_name is the tag name (v.*.*.*)
- name: Patch version
run: ./scripts/patch-version.sh "${{ github.ref_name }}"
continue-on-error: true

- name: Build web production
run: npm run build-web -- --mode=production

Expand Down

0 comments on commit 7b018e3

Please sign in to comment.