diff --git a/.github/workflows/candidate.yml b/.github/workflows/candidate.yml new file mode 100644 index 0000000000..209995c8fd --- /dev/null +++ b/.github/workflows/candidate.yml @@ -0,0 +1,40 @@ +name: "Mongoid Release Candidate" +run-name: "Mongoid Release Candidate for ${{ github.ref }}" + +on: + workflow_dispatch: + inputs: + dry_run: + description: Whether this is a dry run or not + required: true + default: true + type: boolean + +jobs: + candidate: + name: "Mongoid Release Candidate" + environment: release + runs-on: 'ubuntu-latest' + + permissions: + # required for all workflows + security-events: write + + # required to fetch internal or private CodeQL packs + packages: read + + # only required for workflows in private repositories + actions: read + contents: write + + # required by the mongodb-labs/drivers-github-tools/setup@v2 step + # also required by `rubygems/release-gem` + id-token: write + + steps: + - name: "Run the candidate action" + uses: jamis/drivers-github-tools/ruby/candidate@ruby-3643-new-release-process + with: + app_id: ${{ vars.APP_ID }} + app_private_key: ${{ secrets.APP_PRIVATE_KEY }} + dry_run: ${{ inputs.dry_run }} diff --git a/lib/mongoid/version.rb b/lib/mongoid/version.rb index f7cad2fb03..98baa8f6c8 100644 --- a/lib/mongoid/version.rb +++ b/lib/mongoid/version.rb @@ -2,5 +2,5 @@ # rubocop:todo all module Mongoid - VERSION = "9.0.2" + VERSION = "9.1.0" end diff --git a/product.yml b/product.yml new file mode 100644 index 0000000000..cd30755e4b --- /dev/null +++ b/product.yml @@ -0,0 +1,6 @@ +--- +name: Mongoid +package: mongoid +version: + number: 9.1.0 + file: lib/mongoid/version.rb