Skip to content

Commit c619e4a

Browse files
authored
Merge pull request #11 from rhafer/bumpversion
Set tags on target repos when main repo is tagged
2 parents bd1aac6 + 0e0b943 commit c619e4a

4 files changed

Lines changed: 32 additions & 0 deletions

File tree

.woodpecker/build-cpp-qt.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ steps:
4242
commands:
4343
- cd libre-graph-api-cpp-qt-client
4444
- git diff
45+
git-tag:
46+
image: *alpine_image
47+
environment: *environment
48+
commands:
49+
- cd libre-graph-api-cpp-qt-client
50+
- git tag -a ${CI_COMMIT_TAG} -m ${CI_COMMIT_MESSAGE}
51+
when:
52+
- event: tag
4553
push_target_repo:
4654
image: quay.io/thegeeklab/wp-git-action
4755
settings:

.woodpecker/build-go.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ steps:
4242
commands:
4343
- cd libre-graph-api-go
4444
- git diff
45+
git-tag:
46+
image: *alpine_image
47+
environment: *environment
48+
commands:
49+
- cd libre-graph-api-go
50+
- git tag -a ${CI_COMMIT_TAG} -m ${CI_COMMIT_MESSAGE}
51+
when:
52+
- event: tag
4553
push_target_repo:
4654
image: quay.io/thegeeklab/wp-git-action
4755
settings:

.woodpecker/build-php.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ steps:
4242
commands:
4343
- cd libre-graph-api-php
4444
- git diff
45+
git-tag:
46+
image: *alpine_image
47+
environment: *environment
48+
commands:
49+
- cd libre-graph-api-php
50+
- git tag -a ${CI_COMMIT_TAG} -m ${CI_COMMIT_MESSAGE}
51+
when:
52+
- event: tag
4553
push_target_repo:
4654
image: quay.io/thegeeklab/wp-git-action
4755
settings:

.woodpecker/build-typescript-axios.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ steps:
4242
commands:
4343
- cd libre-graph-api-typescript-axios
4444
- git diff
45+
git-tag:
46+
image: *alpine_image
47+
environment: *environment
48+
commands:
49+
- cd libre-graph-api-typescript-axios
50+
- git tag -a ${CI_COMMIT_TAG} -m ${CI_COMMIT_MESSAGE}
51+
when:
52+
- event: tag
4553
push_target_repo:
4654
image: quay.io/thegeeklab/wp-git-action
4755
settings:

0 commit comments

Comments
 (0)