Skip to content

Commit f08e2c6

Browse files
committed
Build packages for Ubuntu 21.04 (Hirsute)
1 parent 42d0b93 commit f08e2c6

File tree

5 files changed

+15
-3
lines changed

5 files changed

+15
-3
lines changed

tools/deploy_mos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
GPG_KEY_PATH = os.path.join(os.environ["HOME"], ".gnupg-cesantabot")
3838
BUILD_DEB_PATH = os.path.join("tools", "ubuntu", "build-deb.sh")
3939
UPLOAD_DEB_PATH = os.path.join("tools", "ubuntu", "upload-deb.sh")
40-
UBUNTU_VERSIONS = ["xenial", "bionic", "focal", "groovy"]
40+
UBUNTU_VERSIONS = ["xenial", "bionic", "focal", "groovy", "hirsute"]
4141

4242
deb_package = "mos-latest"
4343
tag_effective = "latest"

tools/docker/golang/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
all: build-all
22

3-
UBUNTU_DISTRS := xenial bionic focal groovy
3+
UBUNTU_DISTRS := xenial bionic focal groovy hirsute
44

55
build-all: $(foreach u,$(UBUNTU_DISTRS),docker-build-ubuntu-golang-$(u)) docker-build-ubuntu32-golang-bionic docker-build-golang-mingw
66

tools/ubuntu/mos-hirsute.recipe

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# git-build-recipe format 0.4 deb-version {latest-tag}+{git-commit}~hirsute0
2+
3+
# Build from local repo (volume-mount a clone of https://github.com/mongoose-os/mos.git to /src):
4+
/src 1.11_CHANGE_ME
5+
merge deb-release https://github.com/mongoose-os/mos.git deb-release
6+
run rsync -a /src/vendor/ vendor/
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# git-build-recipe format 0.4 deb-version {revtime}+{git-commit}~hirsute0
2+
3+
# Build from local repo (volume-mount a clone of https://github.com/mongoose-os/mos.git to /src):
4+
/src master
5+
merge deb-latest https://github.com/mongoose-os/mos.git deb-latest
6+
run rsync -a /src/vendor/ vendor/

version/version_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var (
4444
regexpVersionNumber = regexp.MustCompile(`^\d+\.[0-9.]*$`)
4545
regexpBuildIdDistr = regexp.MustCompile(`^(?P<version>[^+]+)\+(?P<hash>[^~]+)\~(?P<distr>[^\d]+)\d+$`)
4646

47-
ubuntuDistrNames = []string{"xenial", "bionic", "focal", "groovy"}
47+
ubuntuDistrNames = []string{"xenial", "bionic", "focal", "groovy", "hirsute"}
4848
)
4949

5050
// GetMosVersion returns this binary's version, or "latest" if it's not a release build.

0 commit comments

Comments
 (0)