From a2df96878aad6fe98e037874dff95a1175fd9cec Mon Sep 17 00:00:00 2001 From: "Reza (Shahin) Khanipour" Date: Fri, 19 Jul 2024 21:37:18 +0200 Subject: [PATCH] refactor: disable release workflow. This is due to requirement of having a personal token attached to the repo, which in current state I find it unnecessary. For now I'm going to manage releases manually. --- .github/workflows/release.yaml | 53 ---------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml deleted file mode 100644 index b90a3ec..0000000 --- a/.github/workflows/release.yaml +++ /dev/null @@ -1,53 +0,0 @@ -name: Release - -on: - workflow_dispatch: - inputs: - prerelease: - type: choice - description: Pre-release type (optional) - options: - - '' - - alpha - - beta - - rc - default: '' - required: false - increment: - type: choice - description: Increment type (optional) - options: - - '' - - MAJOR - - MINOR - - PATCH - default: '' - required: false - -jobs: - release: - name: Bump version and update the changelog - runs-on: ubuntu-latest - - steps: - - name: Clone - uses: actions/checkout@v3 - with: - fetch-depth: 0 - token: ${{ secrets.RELEASE_TOKEN }} - - - name: Bump version - uses: commitizen-tools/commitizen-action@master - with: - github_token: ${{ secrets.RELEASE_TOKEN }} - changelog_increment_filename: body.md - prerelease: ${{ github.event.inputs.prerelease }} - increment: ${{ github.event.inputs.increment }} - - - name: Release - uses: softprops/action-gh-release@v1 - with: - body_path: "body.md" - tag_name: ${{ env.REVISION }} - env: - GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}