github.com/rudderlabs/rudder-go-kit@v0.30.0/.github/workflows/prerelease.yaml (about) 1 on: 2 push: 3 branches: 4 - "prerelease/*" 5 name: Prerelease 6 jobs: 7 prerelease: 8 runs-on: ubuntu-latest 9 steps: 10 - name: Extract branch name 11 shell: bash 12 run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" 13 id: extract_branch 14 - uses: google-github-actions/release-please-action@v3 15 with: 16 token: ${{ secrets.GITHUB_TOKEN }} 17 pull-request-title-pattern: "chore: prerelease ${version}" 18 release-type: go 19 package-name: rudder-server 20 default-branch: ${{ steps.extract_branch.outputs.branch }} 21 changelog-types: ' 22 [ 23 { 24 "type": "feat", 25 "section": "Features", 26 "hidden": false 27 }, 28 { 29 "type": "fix", 30 "section": "Bug Fixes", 31 "hidden": false 32 }, 33 { 34 "type": "chore", 35 "section":"Miscellaneous", 36 "hidden": false}, 37 { 38 "type": "refactor", 39 "section": "Miscellaneous", 40 "hidden": false 41 }, 42 { 43 "type": "test", 44 "section": "Miscellaneous", 45 "hidden": false 46 }, 47 { 48 "type": "doc", 49 "section": "Documentation", 50 "hidden": false 51 } 52 ]' 53 prerelease: true 54 release-as: ${{ steps.extract_branch.outputs.branch }}