From 96bcee66fba582666259d1d7785c3a7f2a72b8aa Mon Sep 17 00:00:00 2001 From: Claire Date: Thu, 24 Aug 2023 14:43:44 +0200 Subject: [PATCH] Change nightlies versioning from `v4.2.0+2023-08-23` to `v4.2.0-nightly.2023-08-23` (#26626) --- .github/workflows/build-nightly.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-nightly.yml b/.github/workflows/build-nightly.yml index b700790d8..5b34c1c3c 100644 --- a/.github/workflows/build-nightly.yml +++ b/.github/workflows/build-nightly.yml @@ -16,7 +16,7 @@ jobs: env: TZ: Etc/UTC run: | - echo mastodon_version_suffix=nightly-$(date +'%Y-%m-%d')>> $GITHUB_OUTPUT + echo mastodon_version_suffix=nightly.$(date +'%Y-%m-%d')>> $GITHUB_OUTPUT outputs: suffix: ${{ steps.version_vars.outputs.mastodon_version_suffix }} @@ -29,8 +29,8 @@ jobs: push_to_images: | tootsuite/mastodon ghcr.io/mastodon/mastodon - # The `+` is important here, result will be v4.1.2+nightly-2022-03-05 - version_suffix: +${{ needs.compute-suffix.outputs.suffix }} + # The `-` is important here, result will be v4.1.2-nightly.2022-03-05 + version_suffix: -${{ needs.compute-suffix.outputs.suffix }} labels: | org.opencontainers.image.description=Nightly build image used for testing purposes flavor: |