Skip to content

Commit

Permalink
Integrate the tag with the build
Browse files Browse the repository at this point in the history
  • Loading branch information
pboutin committed Sep 7, 2024
1 parent f78ba3f commit 8aff30c
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,16 @@ jobs:
node-version: 18.10.0
cache: 'npm'

- name: Install
run: make install

- name: Setup Windows adapter
run: make setup-windows

- name: Bump patch version
if: github.event.inputs.version_type == 'patch'
run: npm version patch

- name: Bump minor version
if: github.event.inputs.version_type == 'minor'
run: npm version minor

- name: Git push
- name: Tag and publish
run: |
git config --global user.email "[email protected]"
git config --global user.name "Hel Munster"
npm version ${{ github.event.inputs.version_type }}
npx electron-forge publish
git push --follow-tags
- name: Install
run: make install

- name: Forge publish
run: npx electron-forge publish

0 comments on commit 8aff30c

Please sign in to comment.