From b9294021c1e96163fe963386ed61a46bebedd729 Mon Sep 17 00:00:00 2001 From: Juan Picado Date: Fri, 20 Sep 2024 18:25:41 +0200 Subject: [PATCH] chore: disable latest releases on branch 5.x --- .github/workflows/docker-publish.yml | 1 + scripts/publish.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 085ba24a0..f1bcdeeb0 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -40,6 +40,7 @@ jobs: images: ${{ github.repository }} tag-custom: 5.x-next tag-custom-only: ${{ github.ref == 'refs/heads/5.x' }} + tag-latest: false tag-semver: | {{version}} {{major}} diff --git a/scripts/publish.sh b/scripts/publish.sh index bddb4bd7a..b14c3799f 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -10,4 +10,4 @@ echo "Bumping version to new tag: ${lastTag}" echo "//$REGISTRY_URL/:_authToken=$REGISTRY_AUTH_TOKEN" > .npmrc # Publish to NPM -npm publish --registry https://$REGISTRY_URL/ +npm publish --registry https://$REGISTRY_URL/ --tag latest-5