Skip to content
Merged
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
8 changes: 0 additions & 8 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,6 @@ jobs:
make_latest: ${{ env.RELEASE == 'latest' && 'false' || 'legacy' }}
files: projectGenerator-linux-gui.gz

- name: Update Latest Tag - DateTime
uses: EndBug/latest-tag@latest
if: github.repository == 'openframeworks/projectGenerator' && github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/bleeding')
with:
ref: latest
description: Latest master build (copied to nightly every night)
force-branch: true

# Ubuntu 22.04 build - older glibc baseline, covers users/distros that can't
# run binaries linked against 24.04's newer glibc.
build-linux-ubuntu22:
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/latest-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: latest-release

# a master push starts the builds, which upload to the "latest" release; recreate it first so
# its date and tag are this commit's (the builds take minutes before they upload)
on:
push:
branches:
- master
paths-ignore:
- '**/README.md'

permissions:
contents: write

concurrency:
group: latest-release
cancel-in-progress: false

jobs:
latest-release:
if: github.repository == 'openframeworks/projectGenerator'
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
steps:
- name: Recreate the latest release at this commit
shell: bash
run: |
set -euo pipefail
gh release delete latest --repo "$REPO" --cleanup-tag --yes || echo "no latest release yet"
gh release create latest --repo "$REPO" --target "$GITHUB_SHA" --title latest --latest=false \
--notes "Latest master build from ${GITHUB_SHA:0:7} (copied to nightly every night). Files are added as each platform finishes building."
Loading