mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fetch tags after cloning (#46921)
This commit is contained in:
parent
cac6936015
commit
9bf82c37e3
@ -706,9 +706,11 @@ steps:
|
|||||||
- git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git"
|
- git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git"
|
||||||
--depth=1
|
--depth=1
|
||||||
- cd grafana-enterprise
|
- cd grafana-enterprise
|
||||||
|
- git fetch origin "refs/tags/*:refs/tags/*"
|
||||||
- git tag -d $${TEST_TAG} && git push --delete origin $${TEST_TAG} && git tag $${TEST_TAG}
|
- git tag -d $${TEST_TAG} && git push --delete origin $${TEST_TAG} && git tag $${TEST_TAG}
|
||||||
&& git push origin $${TEST_TAG}
|
&& git push origin $${TEST_TAG}
|
||||||
- cd -
|
- cd -
|
||||||
|
- git fetch origin "refs/tags/*:refs/tags/*"
|
||||||
- git remote add downstream https://github.com/grafana/$${DOWNSTREAM_REPO}.git
|
- git remote add downstream https://github.com/grafana/$${DOWNSTREAM_REPO}.git
|
||||||
- git tag -d $${TEST_TAG} && git push --delete downstream $${TEST_TAG} && git tag
|
- git tag -d $${TEST_TAG} && git push --delete downstream $${TEST_TAG} && git tag
|
||||||
$${TEST_TAG} && git push downstream $${TEST_TAG}
|
$${TEST_TAG} && git push downstream $${TEST_TAG}
|
||||||
@ -4409,6 +4411,6 @@ kind: secret
|
|||||||
name: gcp_upload_artifacts_key
|
name: gcp_upload_artifacts_key
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: f8ee7ebfe0dd8221b71c0f0d01fa7dfd41be01526959c35b6f2eb4069babbf51
|
hmac: a6d1a7ba0b32ac93ba85f81961ee7494818f214829e034f2ef98f88d7728cbd0
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -167,8 +167,10 @@ def trigger_test_release():
|
|||||||
'commands': [
|
'commands': [
|
||||||
'git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" --depth=1',
|
'git clone "https://$${GITHUB_TOKEN}@github.com/grafana/grafana-enterprise.git" --depth=1',
|
||||||
'cd grafana-enterprise',
|
'cd grafana-enterprise',
|
||||||
|
'git fetch origin "refs/tags/*:refs/tags/*"',
|
||||||
'git tag -d $${TEST_TAG} && git push --delete origin $${TEST_TAG} && git tag $${TEST_TAG} && git push origin $${TEST_TAG}',
|
'git tag -d $${TEST_TAG} && git push --delete origin $${TEST_TAG} && git tag $${TEST_TAG} && git push origin $${TEST_TAG}',
|
||||||
'cd -',
|
'cd -',
|
||||||
|
'git fetch origin "refs/tags/*:refs/tags/*"',
|
||||||
'git remote add downstream https://github.com/grafana/$${DOWNSTREAM_REPO}.git',
|
'git remote add downstream https://github.com/grafana/$${DOWNSTREAM_REPO}.git',
|
||||||
'git tag -d $${TEST_TAG} && git push --delete downstream $${TEST_TAG} && git tag $${TEST_TAG} && git push downstream $${TEST_TAG}',
|
'git tag -d $${TEST_TAG} && git push --delete downstream $${TEST_TAG} && git tag $${TEST_TAG} && git push downstream $${TEST_TAG}',
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user