Skip to content

[PortalDB][Attempt 2] POC PostgREST implementation with API Autogen (… #2

[PortalDB][Attempt 2] POC PostgREST implementation with API Autogen (…

[PortalDB][Attempt 2] POC PostgREST implementation with API Autogen (… #2

name: Auto Version and Release
on:
push:
branches:
- main
jobs:
version-and-release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Bump version and push tag
id: tag_version
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BUMP: patch
WITH_V: true
RELEASE_BRANCHES: main
INITIAL_VERSION: 0.4.0
- name: Create GitHub Release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
generateReleaseNotes: true
body: |
## Changes in this release
**Full Changelog**: https://github.com/${{ github.repository }}/compare/${{ steps.tag_version.outputs.tag }}...${{ steps.tag_version.outputs.new_tag }}