add current time in milis to the branch name (#1658) (#1693)

Co-authored-by: Egor_P <egor@parity.io>
This commit is contained in:
Squirrel
2022-09-27 16:53:17 +01:00
committed by GitHub
parent 695ed8a594
commit 90a3b2126a
+4 -2
View File
@@ -407,7 +407,8 @@ benchmarks-assets:
- ./scripts/benchmarks-ci.sh assets statemine ./artifacts
- ./scripts/benchmarks-ci.sh assets statemint ./artifacts
- ./scripts/benchmarks-ci.sh assets westmint ./artifacts
- export BRANCHNAME="weights-statemint-${CI_COMMIT_BRANCH}"
- export CURRENT_TIME=$(date '+%s')
- export BRANCHNAME="weights-statemint-${CI_COMMIT_BRANCH}-${CURRENT_TIME}"
- *git-commit-push
# create PR to release-parachains-v* branch
- curl -u ${GITHUB_USER}:${GITHUB_TOKEN}
@@ -427,7 +428,8 @@ benchmarks-collectives:
script:
- ./scripts/benchmarks-ci.sh collectives collectives-polkadot ./artifacts
- git status
- export BRANCHNAME="weights-collectives-${CI_COMMIT_BRANCH}"
- export CURRENT_TIME=$(date '+%s')
- export BRANCHNAME="weights-collectives-${CI_COMMIT_BRANCH}-${CURRENT_TIME}"
- *git-commit-push
# create PR
- curl -u ${GITHUB_USER}:${GITHUB_TOKEN}