From 4a60a93ca602117b1788c6220fb8fa10c02a434f Mon Sep 17 00:00:00 2001 From: Sven Jansen Date: Tue, 28 Jul 2026 17:13:32 +0200 Subject: [PATCH] chore: remove initial release option --- .github/workflows/release.yml | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f2eb3a..82d83ee 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 3.4.0 release without calculating a version bump. - required: false - default: false - type: boolean permissions: contents: read @@ -62,20 +56,14 @@ jobs: git config user.email "${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com" - 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 Flex release." > RELEASE_NOTES.md - else - node ./scripts/release.js - node ./scripts/sync-release-version.js - fi + node ./scripts/release.js + node ./scripts/sync-release-version.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: | @@ -86,14 +74,7 @@ jobs: VERSION: ${{ steps.version.outputs.version }} 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: GH_TOKEN: ${{ steps.app-token.outputs.token }}