Skip to content

Commit bbc8042

Browse files
Abdurrahman Allawalaedma2
authored andcommitted
don't prepend component path to tag (open-telemetry#7)
1 parent af02473 commit bbc8042

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

_infra/ci/dispatch.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ jobs:
1515
env:
1616
COMPONENT_PATH: "receiver/statsdreceiver"
1717

18-
- name: Tag repo for receiver/statsdreceiver
18+
- name: Tag repo
1919
path: _infra/ci/jobs/tag_repo.yml
2020
options:
21-
only_run_if: "env('JORB_GIT_BRANCH') == 'airbnb'"
22-
env:
23-
COMPONENT_PATH: "receiver/statsdreceiver"
21+
only_run_if: "env('JORB_GIT_BRANCH') == 'airbnb'"

_infra/ci/jobs/tag_repo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,6 @@ steps:
8888
command: |
8989
cd /jorb/repo-copy-rw
9090
91-
TAG=${COMPONENT_PATH}/$(yq '.module-sets.contrib-base.version' versions.yaml)-${JORB_GIT_BRANCH}-$(git rev-parse --short HEAD)
91+
TAG=$(yq '.module-sets.contrib-base.version' versions.yaml)-${JORB_GIT_BRANCH}-$(git rev-parse --short HEAD)
9292
git tag $TAG
9393
git push origin $TAG

0 commit comments

Comments
 (0)