Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/beta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:

- name: Check for changes since last beta release
id: changes
env:
FORCE_BUILD: ${{ github.event.inputs.force_build }}
run: |
LAST_BETA=$(git tag -l "*b*" --sort=-version:refname | head -n1)

Expand All @@ -45,7 +47,7 @@ jobs:
echo "commit_count=$COMMIT_COUNT" >> $GITHUB_OUTPUT
echo "last_beta=$LAST_BETA" >> $GITHUB_OUTPUT

if [ "$COMMIT_COUNT" -gt 0 ] || [ "${{ github.event.inputs.force_build == 'true' }}" = "true" ]; then
if [ "$COMMIT_COUNT" -gt 0 ] || [ "$FORCE_BUILD" = "true" ]; then
echo "has_changes=true" >> $GITHUB_OUTPUT
else
echo "has_changes=false" >> $GITHUB_OUTPUT
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:

- name: Check for changes since last alpha release
id: changes
env:
FORCE_BUILD: ${{ github.event.inputs.force_build }}
run: |
LAST_ALPHA=$(git tag -l "*alpha*" --sort=-version:refname | head -n1)

Expand All @@ -46,7 +48,7 @@ jobs:
echo "Commits since last alpha: $COMMIT_COUNT"
echo "commit_count=$COMMIT_COUNT" >> $GITHUB_OUTPUT

if [ "$COMMIT_COUNT" -gt 0 ] || [ "${{ github.event.inputs.force_build == 'true' }}" = "true" ]; then
if [ "$COMMIT_COUNT" -gt 0 ] || [ "$FORCE_BUILD" = "true" ]; then
echo "has_changes=true" >> $GITHUB_OUTPUT
echo "✅ Changes detected, proceeding with nightly build"
else
Expand Down