Skip to content

Commit

Permalink
Update nightly releases to run from dev instead of v7
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Jul 16, 2024
1 parent d75eed5 commit 6791fe5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
jobs:
# HEADS UP! this "nightly" job will only ever run on the `main` branch due to
# it being a cron job, and the last commit on main will be what github shows
# as the trigger however in the checkout below we specify the `v7` branch,
# as the trigger however in the checkout below we specify the `dev` branch,
# so all the scripts in this job will be ran from that, confusing i know, so
# in some cases we'll need to create multiple PRs when modifying nightly
# release processes
Expand All @@ -31,7 +31,7 @@ jobs:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
with:
ref: v7
ref: dev
# checkout using a custom token so that we can push later on
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
Expand All @@ -56,7 +56,7 @@ jobs:
# get latest nightly tag
LATEST_NIGHTLY_TAG=$(git tag -l v0.0.0-nightly-\* --sort=-creatordate | head -n 1)
# check if last commit to v7 starts with the nightly tag we're about
# check if last commit to dev starts with the nightly tag we're about
# to create (minus the date)
# if it is, we'll skip the nightly creation
# if not, we'll create a new nightly tag
Expand Down

0 comments on commit 6791fe5

Please sign in to comment.