From 2a6b973b382341b736d9c5257b99c7350121b111 Mon Sep 17 00:00:00 2001 From: Dhenain Ambroise Date: Tue, 10 Jan 2023 12:44:43 +0100 Subject: [PATCH] Remove artifacts and replaces them --- .../workflows/auto-git-release-production.yml | 2 ++ .../workflows/auto-tag-on-manual-release.yml | 22 ------------------- 2 files changed, 2 insertions(+), 22 deletions(-) delete mode 100644 .github/workflows/auto-tag-on-manual-release.yml diff --git a/.github/workflows/auto-git-release-production.yml b/.github/workflows/auto-git-release-production.yml index 8a288c9..72092f5 100644 --- a/.github/workflows/auto-git-release-production.yml +++ b/.github/workflows/auto-git-release-production.yml @@ -69,6 +69,8 @@ jobs: tag: "v${{steps.next_semantic_version.outputs.major}}" name: "v${{steps.next_semantic_version.outputs.major}} latest release (auto-update)" allowUpdates: true + removeArtifacts: true + replacesArtifacts: true prerelease: false generateReleaseNotes: true artifacts: | diff --git a/.github/workflows/auto-tag-on-manual-release.yml b/.github/workflows/auto-tag-on-manual-release.yml deleted file mode 100644 index df65850..0000000 --- a/.github/workflows/auto-tag-on-manual-release.yml +++ /dev/null @@ -1,22 +0,0 @@ -# Summary: -# Upon MANUAL release, automatically update the MAJOR tag to make it point to the latest version of any minor/patch release, for easy use by the consumers. -# Also updates the "latest" tag automatically (auto-created), which is meant to be used for development/testing only, not for production. -# This way, consumers can use @v1 and the @v1 is a tag that is automatically updated when you release a new v1 minor/patch version. -# Note that if you release a "pre-release", it won't automatically update the "latest" tag, nor the MAJOR tag. -# -# See https://github.com/Actions-R-Us/actions-tagger https://github.com/Actions-R-Us/actions-tagger/releases/tag/v2.0.3 - -name: 'Auto-tag upon release' -on: - release: - types: [ published, edited ] - -jobs: - actions-tagger: - runs-on: ubuntu-22.04 - steps: - - uses: Actions-R-Us/actions-tagger@v2.0.3 - env: - GITHUB_TOKEN: "${{ github.token }}" - with: - publish_latest_tag: true