File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 3333 with :
3434 python-version : ${{ matrix.python-version }}
3535 runner : ${{ matrix.os }}
36+ # In order to make a commit, we need to initialize a user.
37+ - name : Initialize mandatory git config
38+ run : |
39+ git config user.name "GitHub actions"
40+ git config user.email noreply@github.com
3641 - name : Tag New Version
37- run : make release-version
38- - name : Push New Version
39- run : git push --follow-tags origin ${{ github.ref_name }}
42+ run : make release-version ref=${{ github.ref_name }}
Original file line number Diff line number Diff line change @@ -50,11 +50,13 @@ test: ## Run this app's tests with a test db. Target a specific path `target=pat
5050TEST_ARGS ?= --cov --cov-config=.coveragerc --cov-report=xml --cov-report=term --junit-xml=junit.xml
5151
5252rule ?= patch
53+ ref ?= main
5354
5455
5556release-version : # # Bump the version for this package.
5657 $(eval message := "Release $(next_version ) ")
57- # git tag -a $(next_version) -m $(message)
58+ @git tag -a $(next_version ) -m $(message )
59+ @git push --follow-tags origin $(ref )
5860.PHONY : release-version
5961
6062
You can’t perform that action at this time.
0 commit comments