CI: Replace TAG with DRONE_TAG in CI (#58894)

* Replace TAG with DRONE_TAG

* Fix variable call

* Replace remaining bits

* Bump grabpl version
This commit is contained in:
Dimitris Sotirakis
2022-11-17 15:30:09 +02:00
committed by GitHub
parent d0dcbe34b2
commit 5ea077c440
3 changed files with 51 additions and 51 deletions

View File

@@ -102,7 +102,7 @@ def retrieve_npm_packages_step():
'PRERELEASE_BUCKET': from_secret(prerelease_bucket)
},
'commands': [
'./bin/grabpl artifacts npm retrieve --tag v${TAG}'
'./bin/grabpl artifacts npm retrieve --tag ${DRONE_TAG}'
],
}
@@ -118,7 +118,7 @@ def release_npm_packages_step():
'NPM_TOKEN': from_secret('npm_token'),
},
'commands': [
'./bin/grabpl artifacts npm release --tag v${TAG}'
'./bin/grabpl artifacts npm release --tag ${DRONE_TAG}'
],
}
@@ -361,7 +361,7 @@ def publish_artifacts_step(mode):
'GCP_KEY': from_secret('gcp_key'),
'PRERELEASE_BUCKET': from_secret('prerelease_bucket'),
},
'commands': ['./bin/grabpl artifacts publish {}--tag ${{TAG}} --src-bucket $${{PRERELEASE_BUCKET}}'.format(security)],
'commands': ['./bin/grabpl artifacts publish {}--tag $${{DRONE_TAG}} --src-bucket $${{PRERELEASE_BUCKET}}'.format(security)],
'depends_on': ['grabpl'],
}