Skip to content

Commit

Permalink
chore: move build to after to get correct version data
Browse files Browse the repository at this point in the history
  • Loading branch information
simenandre committed Jul 1, 2023
1 parent 4bcd781 commit ec21ef6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,11 @@ jobs:
- name: Install dependencies 📦️
run: pnpm install --frozen-lockfile

- name: Build 🏗️
run: pnpm build

- name: Set version to release tag 📝
shell: bash
run: pnpm version from-git --no-commit-hooks --no-git-tag-version --allow-same-version
run:
pnpm version from-git --no-commit-hooks --no-git-tag-version
--allow-same-version

- name: Push version changes to main branch
uses: stefanzweifel/git-auto-commit-action@v4
Expand All @@ -36,6 +35,9 @@ jobs:
branch: ${{ github.event.repository.default_branch }}
file_pattern: package.json

- name: Build 🏗️
run: pnpm build

- name: Prepare release
env:
FILENAME: bjerk-chrome-extension-${{ github.event.release.tag_name }}
Expand Down

0 comments on commit ec21ef6

Please sign in to comment.