From 6791fe5d30b02e0ccf97e7948cb3daad6fb35a7e Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Tue, 16 Jul 2024 11:03:06 -0400 Subject: [PATCH] Update nightly releases to run from dev instead of v7 --- .github/workflows/release-nightly.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml index a33fcd0796..72c0aae27a 100644 --- a/.github/workflows/release-nightly.yml +++ b/.github/workflows/release-nightly.yml @@ -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 @@ -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 @@ -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