Merge pull request #74 from nullplatform/fix/sign-image-ecr-login #25
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
| name: Release Self | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| release: | |
| name: Release Please | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - id: release | |
| uses: googleapis/release-please-action@v5 | |
| with: | |
| release-type: simple | |
| initial-version: 1.0.0 | |
| - name: Checkout for tag update | |
| if: ${{ steps.release.outputs.release_created == 'true' }} | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Update floating major version tag | |
| if: ${{ steps.release.outputs.release_created == 'true' }} | |
| env: | |
| TAG: ${{ steps.release.outputs.tag_name }} | |
| MAJOR: ${{ steps.release.outputs.major }} | |
| run: | | |
| git fetch --tags --force | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git config user.name "github-actions[bot]" | |
| git tag -f "v${MAJOR}" "${TAG}" | |
| git push origin -f "v${MAJOR}" |