Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
cee7f3d971d0
Commit
f38cf384
authored
Apr 15, 2021
by
Georges Racinet
🦑
Browse files
Merge from oldstable branch
--HG-- branch : heptapod-stable
parents
22de94601b66
942ad3db4cef
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/heptapod-make-push-tarball.sh
View file @
cee7f3d9
...
...
@@ -8,14 +8,16 @@ if echo "$CI_COMMIT_TAG" | grep '^heptapod-' > /dev/null; then
# so that `hg archive` should see the tag (very unlikely the tagging
# changeset would be elsewhere, not worth pulling the whole repo)
# using `hg log` instead of `hg branch` to avoid newline for safety
hg pull
-q
-r
heptapod
-r
heptapod-stable
-r
`
hg log
-r
.
-T
"{branch}"
`
||
/bin/true
hg pull
-q
-r
heptapod
-r
heptapod-stable
-r
heptapod-oldstable
-r
`
hg log
-r
.
-T
"{branch}"
`
||
/bin/true
SUBDIR
=
public
# why t
wo
greps and not a single `else` case? To avoid painful
# why t
hree
greps and not a single `else` case? To avoid painful
# release commit and tag creation in the wrong branch of omninus-heptapod
# if, e.g., we change the name of the CI image and forget to update this
# script.
if
grep
ci-images/heptapod-base:stable heptapod-ci.yml
>
/dev/null
;
then
if
grep
ci-images/heptapod-base:oldstable heptapod-ci.yml
>
/dev/null
;
then
TRIGGER_OMNIBUS_BRANCH
=
heptapod-oldstable
elif
grep
ci-images/heptapod-base:stable heptapod-ci.yml
>
/dev/null
;
then
TRIGGER_OMNIBUS_BRANCH
=
heptapod-stable
elif
grep
ci-images/heptapod-base:default heptapod-ci.yml
>
/dev/null
;
then
TRIGGER_OMNIBUS_BRANCH
=
heptapod
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment