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 5f827884aa
commit 2f0760bf99
+4 -2
View File
@@ -407,7 +407,8 @@ benchmarks-assets:
- ./scripts/benchmarks-ci.sh assets statemine ./artifacts - ./scripts/benchmarks-ci.sh assets statemine ./artifacts
- ./scripts/benchmarks-ci.sh assets statemint ./artifacts - ./scripts/benchmarks-ci.sh assets statemint ./artifacts
- ./scripts/benchmarks-ci.sh assets westmint ./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 - *git-commit-push
# create PR to release-parachains-v* branch # create PR to release-parachains-v* branch
- curl -u ${GITHUB_USER}:${GITHUB_TOKEN} - curl -u ${GITHUB_USER}:${GITHUB_TOKEN}
@@ -427,7 +428,8 @@ benchmarks-collectives:
script: script:
- ./scripts/benchmarks-ci.sh collectives collectives-polkadot ./artifacts - ./scripts/benchmarks-ci.sh collectives collectives-polkadot ./artifacts
- git status - 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 - *git-commit-push
# create PR # create PR
- curl -u ${GITHUB_USER}:${GITHUB_TOKEN} - curl -u ${GITHUB_USER}:${GITHUB_TOKEN}