Skip to content

Commit 43dfdda

Browse files
committed
feat: publish with branch, rather than tag
1 parent fa71803 commit 43dfdda

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

Makefile

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fake_ci: .env
3030
make ci
3131

3232
publish_pacts: .env
33-
@"${PACT_CLI}" publish ${PWD}/pacts --consumer-app-version ${GIT_COMMIT} --tag ${GIT_BRANCH}
33+
@"${PACT_CLI}" publish ${PWD}/pacts --consumer-app-version ${GIT_COMMIT} --branch ${GIT_BRANCH}
3434

3535
## =====================
3636
## Build/test tasks
@@ -43,7 +43,7 @@ test: .env
4343
## Deploy tasks
4444
## =====================
4545

46-
deploy: deploy_app tag record_deployment
46+
deploy: deploy_app record_deployment
4747

4848
no_deploy:
4949
@echo "Not deploying as not on master branch"
@@ -60,13 +60,6 @@ can_i_deploy: .env
6060
deploy_app:
6161
@echo "Deploying to prod"
6262

63-
tag: .env
64-
@"${PACT_CLI}" broker create-version-tag \
65-
--pacticipant ${PACTICIPANT} \
66-
--version ${GIT_COMMIT} \
67-
--auto-create-version \
68-
--tag ${GIT_BRANCH}
69-
7063
record_deployment: .env
7164
@"${PACT_CLI}" broker record-deployment --pacticipant ${PACTICIPANT} --version ${GIT_COMMIT} --environment production
7265

0 commit comments

Comments
 (0)