-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
69 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
|
||
# Releasing a new version | ||
Currently, there are some manual steps needed in order to release a new version: | ||
|
||
* Make sure that you're in a branch | ||
* Change the version in the following three files: `bin/q.py`, `setup.py` and `do-manual-release.sh` and commit them to the branch | ||
* Push the commit to the branch/PR | ||
* perform merge into master of that branch from the github UI | ||
* create a new release with a new tag that has the same name as the new version (x.y.z) | ||
|
||
The merge will trigger a build/release, and will push the artifacts to the new release as assets. | ||
|
||
Now, create the relevant rpm and deb packages: | ||
|
||
* Run `./package-release <tag> <version>`. In most cases, both will be the same. | ||
* This will download all the released artifacts for the release into `./packages/`, and will create an rpm and a deb | ||
* Test that the two new artifacts (inside `./packages/`) | ||
* Run `./upload-release <tag> <version>` | ||
|
||
The rpm and deb will be added to the assets of the release | ||
|
||
|
||
Update the website to match the new version. | ||
|
||
# Requirements | ||
Requires a logged in github-cli (`gh`) to work | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
base_folder=$(dirname $0) | ||
pushd ${base_folder} >/dev/null | ||
|
||
if [ $# -ne 2 ]; | ||
then | ||
echo "Usage: $(dirname $0) <version> <git-tag>" | ||
echo | ||
echo "Note that the git tag must be pushed to github before doing this." | ||
exit 1 | ||
fi | ||
VERSION="$1" | ||
BASED_ON_TAG="$2" | ||
|
||
echo uploading | ||
gh release upload 2.0.18 ./packages/*.{rpm,deb} | ||
|
||
echo done | ||
|
||
|
||
|