From 2dd301e150a123d9bbdf5dcf0635efce68e17d2f Mon Sep 17 00:00:00 2001 From: Yetrina Battad Date: Tue, 25 Jun 2024 17:28:26 +1000 Subject: [PATCH] ci: cleanup release workflows and config --- .github/workflows/release-hotfix.yml | 38 ------------------- .github/workflows/release-main.yml | 37 ------------------ .../{release.yml => release-please.yml} | 0 release-please-config.json | 1 - 4 files changed, 76 deletions(-) delete mode 100644 .github/workflows/release-hotfix.yml delete mode 100644 .github/workflows/release-main.yml rename .github/workflows/{release.yml => release-please.yml} (100%) diff --git a/.github/workflows/release-hotfix.yml b/.github/workflows/release-hotfix.yml deleted file mode 100644 index 32a597cf..00000000 --- a/.github/workflows/release-hotfix.yml +++ /dev/null @@ -1,38 +0,0 @@ -# This workflow creates a release pull request whenever a change is pushed to 'main'. -# When the release pull request is merged into 'main', it will automatically create and tag a new -# release version. - -name: Release automation from 'hotfix' branch -on: - push: - branches: [hotfix/2.2.2] -jobs: - release-please: - name: Create a new release - runs-on: ubuntu-latest - steps: - - uses: google-github-actions/release-please-action@v3 - id: release - with: - token: ${{ secrets.GH_TOKEN }} - default-branch: "hotfix/2.2.2" - release-type: ruby - package-name: nla-arclight - bump-minor-pre-major: true - bump-patch-for-minor-pre-major: true - include-v-in-tag: false - changelog-types: >- - [ - {"type":"feat","section":"Features","hidden":false}, - {"type":"fix","section":"Bug Fixes","hidden":false}, - {"type":"perf","section":"Performance Improvements","hidden":false}, - {"type":"revert","section":"Reverts","hidden":false}, - {"type":"docs","section":"Documentation","hidden":false}, - {"type":"style","section":"Styles","hidden":false}, - {"type":"chore","section":"Miscellaneous","hidden":false}, - {"type":"refactor","section":"Code Refactoring","hidden":false}, - {"type":"test","section":"Tests","hidden":false}, - {"type":"build","section":"Build System","hidden":false}, - {"type":"ci","section":"Continuous Integration","hidden":false} - ] - version-file: "config/application.rb" diff --git a/.github/workflows/release-main.yml b/.github/workflows/release-main.yml deleted file mode 100644 index 87a403e5..00000000 --- a/.github/workflows/release-main.yml +++ /dev/null @@ -1,37 +0,0 @@ -# This workflow creates a release pull request whenever a change is pushed to 'main'. -# When the release pull request is merged into main, it will automatically create and tag a new -# release version. - -name: Release automation -on: - push: - branches: [main] -jobs: - release-please: - name: Create a new release - runs-on: ubuntu-latest - steps: - - uses: google-github-actions/release-please-action@v3 - id: release - with: - token: ${{ secrets.GH_TOKEN }} - release-type: ruby - package-name: nla-arclight - bump-minor-pre-major: true - bump-patch-for-minor-pre-major: true - include-v-in-tag: false - changelog-types: >- - [ - {"type":"feat","section":"Features","hidden":false}, - {"type":"fix","section":"Bug Fixes","hidden":false}, - {"type":"perf","section":"Performance Improvements","hidden":false}, - {"type":"revert","section":"Reverts","hidden":false}, - {"type":"docs","section":"Documentation","hidden":false}, - {"type":"style","section":"Styles","hidden":false}, - {"type":"chore","section":"Miscellaneous","hidden":false}, - {"type":"refactor","section":"Code Refactoring","hidden":false}, - {"type":"test","section":"Tests","hidden":false}, - {"type":"build","section":"Build System","hidden":false}, - {"type":"ci","section":"Continuous Integration","hidden":false} - ] - version-file: "config/application.rb" diff --git a/.github/workflows/release.yml b/.github/workflows/release-please.yml similarity index 100% rename from .github/workflows/release.yml rename to .github/workflows/release-please.yml diff --git a/release-please-config.json b/release-please-config.json index 3e44c7ea..7c26badf 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,7 +1,6 @@ { "release-type": "ruby", "bootstrap-sha": "80e59da25933d0044054b2d849065a12f1869e04", - "last-release-sha": "80e59da25933d0044054b2d849065a12f1869e04", "packages": { ".": { "release-type": "ruby",