From a4be42771702825d3440375912dcedd42f4032ef Mon Sep 17 00:00:00 2001 From: Sven Jansen Date: Tue, 28 Jul 2026 17:13:36 +0200 Subject: [PATCH] chore: remove initial release option --- .github/workflows/release.yml | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1f9da9e..3aa8089 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,12 +2,6 @@ name: Release on: workflow_dispatch: - inputs: - initial_release: - description: Create the initial Mantle 7.1.0 release without calculating a version bump. - required: false - default: false - type: boolean permissions: contents: read @@ -68,20 +62,14 @@ jobs: - name: Prepare release env: - INITIAL_RELEASE: ${{ inputs.initial_release }} GH_TOKEN: ${{ steps.app-token.outputs.token }} run: | - if [ "$INITIAL_RELEASE" = "true" ]; then - echo "Initial Mantle Icons release." > RELEASE_NOTES.md - else - node ./scripts/release.js - fi + node ./scripts/release.js VERSION="$(node -p "require('./package.json').version")" echo "version=$VERSION" >> "$GITHUB_OUTPUT" id: version - name: Commit release changes - if: inputs.initial_release != true env: VERSION: ${{ steps.version.outputs.version }} run: | @@ -94,14 +82,7 @@ jobs: run: git tag -a "v$VERSION" -m "v$VERSION" - name: Push release - env: - INITIAL_RELEASE: ${{ inputs.initial_release }} - run: | - if [ "$INITIAL_RELEASE" = "true" ]; then - git push origin "v${{ steps.version.outputs.version }}" - else - git push --follow-tags origin HEAD:main - fi + run: git push --follow-tags origin HEAD:main - name: Create GitHub Release env: