Add GH token when referring to remote - add --quite when running git push (#46926)
This commit is contained in:
@@ -171,8 +171,8 @@ def trigger_test_release():
|
||||
'git tag -d $${TEST_TAG} && git push --delete origin $${TEST_TAG} && git tag $${TEST_TAG} && git push origin $${TEST_TAG}',
|
||||
'cd -',
|
||||
'git fetch origin "refs/tags/*:refs/tags/*"',
|
||||
'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 remote add downstream https://$${GITHUB_TOKEN}@github.com/grafana/$${DOWNSTREAM_REPO}.git',
|
||||
'git tag -d $${TEST_TAG} && git push --delete downstream --quiet $${TEST_TAG} && git tag $${TEST_TAG} && git push downstream $${TEST_TAG} --quiet',
|
||||
],
|
||||
'failure': 'ignore',
|
||||
'when': {
|
||||
|
||||
Reference in New Issue
Block a user