Skip to content

Commit

Permalink
versions: Bump versions to next version. Add some notes on how to mak…
Browse files Browse the repository at this point in the history
…e a release

* The 1.2.9 release of haikuporter still had the 1.2.8 version. Update the
  readme to help prevent this from happening again.
  • Loading branch information
kallisti5 committed Aug 28, 2024
1 parent 1f7e28e commit ad55f5f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion HaikuPorter/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# Copyright 2013 Oliver Tappe
# Distributed under the terms of the MIT License.

__version__ = '1.2.8'
__version__ = '1.3.0'
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,12 @@ erase the container without losing your work.
- useradd sshd ; ssh-keygen -A
- Enable PermitRootLogin in /system/settings/ssh/sshd\_config and make sure the path to the sftp server is correct
- install xz\_utils\_x86, lzip\_x86 (required for extracting packages), patch, dos2unix (required for PATCH() function in some packages)

### Making a release of haikuporter

- Be sure __version__.py , pyproject.toml is set to the next version of haikuporter and changes are pushed
- Draft a new release version matching what's in __version__.py, pyproject.toml
- Once a new release is made in github, bump the versions in __version__.py , pyproject.toml to the *NEXT* version
- The buildmaster containers are generally updated out-of-band as they receive updates less often
- Version numbers in buildmaster/*/Makefile *should* follow the same process as above ideally
- Ideally, we would rebuild the buildmaster containers every release, but not a requirement
2 changes: 1 addition & 1 deletion buildmaster/backend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# CAREFUL HERE! The build context is the top level directory of git!
#
REPO=ghcr.io/haikuports
VERSION=1.2.8-6
VERSION=1.3.0-1
default:
docker build --no-cache --tag ${REPO}/haikuporter/buildmaster:${VERSION} -f Dockerfile ../..
push:
Expand Down
2 changes: 1 addition & 1 deletion buildmaster/frontend/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
REPO=ghcr.io/haikuports
VERSION=1.2.8-4
VERSION=1.3.0-1
default:
docker build --no-cache --tag ${REPO}/haikuporter/frontend:${VERSION} .
push:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "HaikuPorter"
version = "1.2.8"
version = "1.3.0"
description = "HAIKUPORTER"
authors = ["Haiku Inc. <contact@haiku-inc.org>"]
repository = "https://github.com/haikuports/haikuporter"
Expand Down

2 comments on commit ad55f5f

@Begasus
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would be my bad :) Just wanted to get the latest commits released :) (in my defense, I opened an issue for a new release prior to that) :)

@kallisti5
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha, all good. I didn't know all the places the versions were as well... Took some searching

Please sign in to comment.