From 2f0760bf99e9e4605446c6768b78299eb2b6fa6c Mon Sep 17 00:00:00 2001 From: Squirrel Date: Tue, 27 Sep 2022 16:53:17 +0100 Subject: [PATCH] add current time in milis to the branch name (#1658) (#1693) Co-authored-by: Egor_P --- cumulus/.gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cumulus/.gitlab-ci.yml b/cumulus/.gitlab-ci.yml index 17544826bc..00c414693a 100644 --- a/cumulus/.gitlab-ci.yml +++ b/cumulus/.gitlab-ci.yml @@ -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}