Skip to content

Commit

Permalink
only build on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
spuder committed Nov 4, 2024
1 parent 5334cb7 commit 6fdaac4
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
name: ESPHome Build and Commit Manifest

on:
push: #TODO: revert to just tags once working
branches:
- main
# push:
# tags:
# - '[0-9]+.[0-9]+.[0-9]+*'
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

jobs:
check-tag:
Expand Down Expand Up @@ -78,7 +75,7 @@ jobs:
- name: Generate md5 checksum
run: |
mkdir -p artifacts/openspool-${{ matrix.target }}
mv -f openspool-${{ matrix.target }}/*.bin artifacts/openspool-${{ matrix.target }}/
mv -f openspool-${{ matrix.target }}/* artifacts/openspool-${{ matrix.target }}/
for file in artifacts/openspool-${{ matrix.target }}/*.bin; do
md5sum "$file" | awk '{print $1}' > "${file}.md5"
Expand Down

0 comments on commit 6fdaac4

Please sign in to comment.