fix: wrong terminal counts calculated during migration check (#5400) #305
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| push: | |
| branches: | |
| - "prerelease/*" | |
| name: prerelease | |
| jobs: | |
| prerelease: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Extract branch name | |
| shell: bash | |
| run: echo "branch=$(echo "${GITHUB_REF#refs/heads/}")" >> $GITHUB_OUTPUT | |
| id: extract_branch | |
| - uses: google-github-actions/release-please-action@v3 | |
| id: release_action | |
| with: | |
| token: ${{ secrets.PAT }} | |
| pull-request-title-pattern: "chore: prerelease ${version}" | |
| release-type: go | |
| package-name: rudder-server | |
| default-branch: ${{ steps.extract_branch.outputs.branch }} | |
| changelog-types: ' | |
| [ | |
| { | |
| "type": "feat", | |
| "section": "Features", | |
| "hidden": false | |
| }, | |
| { | |
| "type": "fix", | |
| "section": "Bug Fixes", | |
| "hidden": false | |
| }, | |
| { | |
| "type": "chore", | |
| "section":"Miscellaneous", | |
| "hidden": false}, | |
| { | |
| "type": "refactor", | |
| "section": "Miscellaneous", | |
| "hidden": false | |
| }, | |
| { | |
| "type": "test", | |
| "section": "Miscellaneous", | |
| "hidden": false | |
| }, | |
| { | |
| "type": "doc", | |
| "section": "Documentation", | |
| "hidden": false | |
| } | |
| ]' | |
| prerelease: true | |
| release-as: ${{ steps.extract_branch.outputs.branch }} | |
| - name: Extract prerelease version | |
| shell: bash | |
| run: | | |
| tag_name=$(echo "${{ steps.release_action.outputs.tag_name }}") | |
| version=$(echo "${tag_name#v}") | |
| echo "version=${version}" >> $GITHUB_OUTPUT | |
| id: extract_version | |
| - name: Trigger dispatch event | |
| uses: peter-evans/repository-dispatch@v3 | |
| # release please run 2 times, first for creating the PR and second for creating the release | |
| if: ${{ steps.release_action.outputs.releases_created == 'true' }} | |
| with: | |
| token: "${{ secrets.PAT }}" | |
| repository: rudderlabs/rudder-devops | |
| event-type: release-server-hosted | |
| client-payload: | | |
| { | |
| "version": "${{ steps.extract_version.outputs.version }}" | |
| } |