diff --git a/.github/workflows/python-publish-to-pypi.yaml b/.github/workflows/python-publish-to-pypi.yaml index 5c525a2c..53a697d0 100644 --- a/.github/workflows/python-publish-to-pypi.yaml +++ b/.github/workflows/python-publish-to-pypi.yaml @@ -1,4 +1,4 @@ -name: Publish to Pypi +name: Publish Python to Pypi on: push: @@ -6,7 +6,7 @@ on: - python-* jobs: - publish: + publish-python-to-pypi: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/python/sqlcommenter-python/RELEASE.md b/python/sqlcommenter-python/RELEASE.md index abe644c7..d30db9c7 100644 --- a/python/sqlcommenter-python/RELEASE.md +++ b/python/sqlcommenter-python/RELEASE.md @@ -35,4 +35,6 @@ To publish a stable release: 1. Do not change the release branch directly; make a PR to the release-X.Y branch with VERSION and any CHANGELOG changes. 2. After merging your PR to release branch, `git tag` the new release from release branch. -3. Merge the release branch `release-x.y` to `master` \ No newline at end of file +3. Tag should be prefixed with `python-` +4. Once the release occurs `publish-python-to-pypi` workflow job will get executed and will publish the library to testpypi and pypi +5. When build succeeds, merge the release branch `release-x.y` to `master`