summaryrefslogtreecommitdiff
path: root/.github/workflows/release-on-tag.yaml
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-06-26 21:15:02 -0500
committerTim Keller <tjk@tjkeller.xyz>2025-06-26 21:15:02 -0500
commit14997f04cd62507901a56deb2504694533d8599c (patch)
tree13e679d9079fbfa0e89635d437e595050a30b4c3 /.github/workflows/release-on-tag.yaml
parent1c22e00c64c866307e6d1e4b07f9787e25086686 (diff)
downloadimmich-frame-14997f04cd62507901a56deb2504694533d8599c.tar.xz
immich-frame-14997f04cd62507901a56deb2504694533d8599c.zip
optimize pyinstaller and auto release on tag + add binaries as release assets and fix the pyinstaller action
Diffstat (limited to '.github/workflows/release-on-tag.yaml')
-rw-r--r--.github/workflows/release-on-tag.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/release-on-tag.yaml b/.github/workflows/release-on-tag.yaml
new file mode 100644
index 0000000..ef4c91c
--- /dev/null
+++ b/.github/workflows/release-on-tag.yaml
@@ -0,0 +1,23 @@
+name: Create Release
+
+on:
+ push:
+ tags:
+ - 'v*' # This will trigger the action when you push a tag like v1.0, v1.1, etc.
+
+jobs:
+ release:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Set up Git
+ run: |
+ git config user.name "GitHub Actions"
+ git config user.email "actions@github.com"
+
+ - name: Create Release
+ uses: softprops/action-gh-release@v2
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Automatically provided by GitHub Actions