Skip to content

Commit 6791fe5

Browse files
committed
Update nightly releases to run from dev instead of v7
1 parent d75eed5 commit 6791fe5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release-nightly.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
jobs:
1616
# HEADS UP! this "nightly" job will only ever run on the `main` branch due to
1717
# it being a cron job, and the last commit on main will be what github shows
18-
# as the trigger however in the checkout below we specify the `v7` branch,
18+
# as the trigger however in the checkout below we specify the `dev` branch,
1919
# so all the scripts in this job will be ran from that, confusing i know, so
2020
# in some cases we'll need to create multiple PRs when modifying nightly
2121
# release processes
@@ -31,7 +31,7 @@ jobs:
3131
- name: ⬇️ Checkout repo
3232
uses: actions/checkout@v4
3333
with:
34-
ref: v7
34+
ref: dev
3535
# checkout using a custom token so that we can push later on
3636
token: ${{ secrets.GITHUB_TOKEN }}
3737
fetch-depth: 0
@@ -56,7 +56,7 @@ jobs:
5656
# get latest nightly tag
5757
LATEST_NIGHTLY_TAG=$(git tag -l v0.0.0-nightly-\* --sort=-creatordate | head -n 1)
5858
59-
# check if last commit to v7 starts with the nightly tag we're about
59+
# check if last commit to dev starts with the nightly tag we're about
6060
# to create (minus the date)
6161
# if it is, we'll skip the nightly creation
6262
# if not, we'll create a new nightly tag

0 commit comments

Comments
 (0)