Skip to content

Commit

Permalink
chore: Update release workflow to trigger on tag push
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed May 14, 2024
1 parent 68ebac9 commit 113277e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Build, Notarize, Release

# This workflow is triggered on pushing a tag
# git tag vX.Y.Z
# git push origin tag vX.Y.Z
on:
push:
tags:
- 'v*.*.*'

#on: "pull_request" # only active during testing

jobs:
release:
runs-on: ${{ matrix.os }}
Expand All @@ -16,15 +17,12 @@ jobs:
os: [macos-latest]

steps:
# Checkout branch
- uses: actions/checkout@v2

# Node.js (for package scripts)
- uses: actions/setup-node@v1
with:
node-version: "20.11"

# Python
- uses: actions/setup-python@v4
with:
python-version: "3.10"
Expand All @@ -37,7 +35,6 @@ jobs:
virtualenvs-path: ~/my-custom-path
installer-parallel: true

# Install all deps
- run: yarn install-deps

- name: "Build frontend with env vars"
Expand All @@ -62,9 +59,4 @@ jobs:
GH_TOKEN: ${{ secrets.github_token}}
NODE_ENV: production
#PUBLISH_FOR_PULL_REQUEST: true #temporary during testing
run: node build.js

# - name: "Upload artifacts"
# uses: actions/upload-artifact@v4
# with:
# path: dist/*.dmg
run: node build.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@
"start": "electron .",
"build": "rm -rf dist/ && electron-builder build"
},
"version": "0.1.0-rc15.9.7.6"
"version": "0.1.0-rc15.9.7.7"
}

0 comments on commit 113277e

Please sign in to comment.