When a merge is performed, the tag on the latest commit is not moved to the merge commit and the backend pipeline fails when it runs on the "push to master" trigger. The tag can not be found which creates an error and no buid, push and deploy steps are executed.
Suggested Solution
Break down backend pipeline:
one pull-request-pipeline: validate and build
one push-or-merge-to-master-pipeline: validate, bump tag, build, pushe and deploy
Screenshot
Error Output
Run GIT_TAG=$(git describe --tags --exact-match)
fatal: no tag exactly matches 'a67557a11a27be0d449c56ef1b4bf427a2150bc9'
Error: Process completed with exit code 128.
Problem Description
When a merge is performed, the tag on the latest commit is not moved to the merge commit and the backend pipeline fails when it runs on the "push to master" trigger. The tag can not be found which creates an error and no buid, push and deploy steps are executed.
Suggested Solution
Break down backend pipeline:
Screenshot
Error Output
Resources