Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Loic
tools
Commits
ae68b39b
Commit
ae68b39b
authored
Dec 16, 2018
by
Oliver Pinter
Browse files
HBSD: HBSD: prepare release conf for 12-STABLE release - part 2
Signed-off-by:
Oliver Pinter
<
oliver.pinter@hardenedbsd.org
>
parent
8cc85a03
Changes
2
Hide whitespace changes
Inline
Side-by-side
release/release-confs/HardenedBSD-autodetect-git-release.conf
View file @
ae68b39b
...
...
@@ -9,7 +9,7 @@
#load_target_env() { }
#buildenv_setup() { }
HBSD_NAME_TAG
=`
git
tag
--
contains
HEAD
|
awk
'/^HardenedBSD-([0-9]*-STABLE|1
1
-CURRENT)-v[0-9]*(.[0-9]*)?$/{print $1}'
`
HBSD_NAME_TAG
=`
git
tag
--
contains
HEAD
|
awk
'/^HardenedBSD-([0-9]*-STABLE|1
3
-CURRENT)-v[0-9]*(.[0-9]*)?$/{print $1}'
`
HBSD_DATE_TAG
=`
git
tag
--
contains
HEAD
|
awk
'/^hardenedbsd-([0-9]*-stable|master)-[0-9]*-[0-9]$/{print $1}'
`
case
${
HBSD_DATE_TAG
}
in
...
...
release/release-confs/HardenedBSD-stable-autodetect-git-release.conf
View file @
ae68b39b
...
...
@@ -9,7 +9,7 @@
#load_target_env() { }
#buildenv_setup() { }
HBSD_NAME_TAG
=`
git
tag
--
contains
HEAD
|
awk
'/^HardenedBSD-([0-9]*-STABLE|1
1
-CURRENT)-v[0-9]*(.[0-9]*)?$/{print $1}'
`
HBSD_NAME_TAG
=`
git
tag
--
contains
HEAD
|
awk
'/^HardenedBSD-([0-9]*-STABLE|1
3
-CURRENT)-v[0-9]*(.[0-9]*)?$/{print $1}'
`
HBSD_DATE_TAG
=`
git
tag
--
contains
HEAD
|
awk
'/^hardenedbsd-([0-9]*-stable|master)-[0-9]*-[0-9]$/{print $1}'
`
case
${
HBSD_DATE_TAG
}
in
...
...
@@ -29,12 +29,20 @@ case ${HBSD_DATE_TAG} in
HBSD_NAME_TAG
=`
git
tag
--
sort
=
"v:refname"
|
awk
'/^HardenedBSD-11-STABLE-v[0-9]*(.[0-9]*)?$/{print $1}'
|
tail
-
1
`+
S
${
HBSD_LAST_COMMIT
}
fi
;;
*
12
-
stable
*)
HBSD_BRANCH
=
"hardened/11-stable/master"
if
[ -
z
"${HBSD_NAME_TAG}"
]
then
HBSD_LAST_COMMIT
=`
git
rev
-
parse
${
HBSD_BRANCH
}`
HBSD_NAME_TAG
=`
git
tag
--
sort
=
"v:refname"
|
awk
'/^HardenedBSD-12-STABLE-v[0-9]*(.[0-9]*)?$/{print $1}'
|
tail
-
1
`+
S
${
HBSD_LAST_COMMIT
}
fi
;;
hardenedbsd
-
master
-*)
HBSD_BRANCH
=
"hardened/current/master"
if
[ -
z
"${HBSD_NAME_TAG}"
]
then
HBSD_LAST_COMMIT
=`
git
rev
-
parse
${
HBSD_BRANCH
}`
HBSD_NAME_TAG
=`
git
tag
--
sort
=
"v:refname"
|
awk
'/^HardenedBSD-1
2
-CURRENT-v[0-9]*(.[0-9]*)?$/{print $1}'
|
tail
-
1
`+
S
${
HBSD_LAST_COMMIT
}
HBSD_NAME_TAG
=`
git
tag
--
sort
=
"v:refname"
|
awk
'/^HardenedBSD-1
3
-CURRENT-v[0-9]*(.[0-9]*)?$/{print $1}'
|
tail
-
1
`+
S
${
HBSD_LAST_COMMIT
}
fi
;;
*)
...
...
Write
Preview
Supports
Markdown
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