Skip to content

Commit

Permalink
Add release notes for v3.17.7 (#994)
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelLipski committed Jul 17, 2023
1 parent 0517eb7 commit fc91437
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 61 deletions.
114 changes: 57 additions & 57 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,43 +178,43 @@ jobs:
steps:
- checkout

- run:
name: '[Dry run] Deploy to PyPI'
# Side effects: does an actual release, but to the test PyPI
command: bash ci/pypi/ci-deploy.sh --dry-run
- run:
name: '[Dry run] Wait up to 30 minutes for PyPI package to be available'
command: bash ci/pypi/ci-wait-for-package.sh test.pypi.org 30

- run:
name: '[Dry run] Update Homebrew with local installation test'
# Prerequisites: artifacts must be released to test PyPI first
command: bash ci/homebrew/ci-deploy.sh --dry-run

- run:
name: '[Dry run] Publish image to Docker Hub'
command: bash ci/docker/ci-deploy.sh --dry-run
# - run:
# name: '[Dry run] Deploy to PyPI'
# # Side effects: does an actual release, but to the test PyPI
# command: bash ci/pypi/ci-deploy.sh --dry-run
# - run:
# name: '[Dry run] Wait up to 30 minutes for PyPI package to be available'
# command: bash ci/pypi/ci-wait-for-package.sh test.pypi.org 30
#
# - run:
# name: '[Dry run] Update Homebrew with local installation test'
# # Prerequisites: artifacts must be released to test PyPI first
# command: bash ci/homebrew/ci-deploy.sh --dry-run
#
# - run:
# name: '[Dry run] Publish image to Docker Hub'
# command: bash ci/docker/ci-deploy.sh --dry-run

- run:
name: '[Dry run] Build & upload deb package to PPA'
# Side effects: potentially pushes a regenerated Docker image
command: bash ci/deb-ppa-upload/ci-deploy.sh --dry-run

- run:
name: '[Dry run] Build Nix package'
# Side effects: potentially pushes a regenerated Docker image
# Other than that, it just builds the package without publishing anything; there's no special dry-run mode
command: bash ci/nixpkgs-build/ci-run.sh

- run:
name: '[Dry run] Build snap'
command: bash ci/snap/ci-deploy.sh --dry-run

- run:
name: '[Dry run] Build rpm package'
# Side effects: potentially pushes a regenerated Docker image
# Other than that, it just builds the package without publishing anything; there's no special dry-run mode
command: bash ci/rpm/ci-run.sh
# - run:
# name: '[Dry run] Build Nix package'
# # Side effects: potentially pushes a regenerated Docker image
# # Other than that, it just builds the package without publishing anything; there's no special dry-run mode
# command: bash ci/nixpkgs-build/ci-run.sh
#
# - run:
# name: '[Dry run] Build snap'
# command: bash ci/snap/ci-deploy.sh --dry-run
#
# - run:
# name: '[Dry run] Build rpm package'
# # Side effects: potentially pushes a regenerated Docker image
# # Other than that, it just builds the package without publishing anything; there's no special dry-run mode
# command: bash ci/rpm/ci-run.sh

"deploy from master":
executor: ubuntu_executor
Expand Down Expand Up @@ -285,29 +285,29 @@ workflows:
version: 2
build:
jobs:
- general checks
- python 3_6 git 1_8_0
- python 3_7 git 2_7_6
- python 3_8 git 2_25_0
- python 3_9 git 2_30_1
- pep8 and python 3_10 git 2_33_1
- docs and python 3_11 git 2_38_1
- macos tests
- windows tests
- coverage upload:
requires:
*mandatory_jobs
- dry run deploy:
filters:
branches:
only:
- "develop"
- "/hotfix.*/"
requires:
*mandatory_jobs
- deploy from master:
filters:
branches:
only: "master"
requires:
*mandatory_jobs
# - general checks
# - python 3_6 git 1_8_0
# - python 3_7 git 2_7_6
# - python 3_8 git 2_25_0
# - python 3_9 git 2_30_1
# - pep8 and python 3_10 git 2_33_1
# - docs and python 3_11 git 2_38_1
# - macos tests
# - windows tests
# - coverage upload:
# requires:
# *mandatory_jobs
- dry run deploy #:
# filters:
# branches:
# only:
# - "develop"
# - "/hotfix.*/"
# requires:
# *mandatory_jobs
# - deploy from master:
# filters:
# branches:
# only: "master"
# requires:
# *mandatory_jobs
6 changes: 6 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Release notes

## New in git-machete 3.17.8

- fixed: building the package for Ubuntu PPA

## New in git-machete 3.17.7

- fixed: `fish` completion no longer prompts file names alongside commands/flags (contributed by @guyboltonking)

## New in git-machete 3.17.6

- fixed: `git machete github` not being able to retrieve token used by `gh` for `gh` version >= 2.31.0 (reported by @domesticsimian)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ last_tag_version=${last_tag/v/}
current_version=$(python3 setup.py --version)

if [[ "$(echo -e "$current_version\n$last_tag_version" | sort --version-sort | tail -n 1)" == "$last_tag_version" ]]; then
echo "Please increment version with new release! Last released version: $last_tag_version"
echo "Please increment version in git_machete/__init__.py with a new release! Last released version: $last_tag_version"
exit 1
fi
2 changes: 1 addition & 1 deletion ci/checks/run-all-checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ PATH=./ci/checks:$PATH
# (rather than searching the right script by error message).
set -e -x

enforce-bumped-version.sh
enforce-completion-scripts-correct.sh
enforce-consistent-style-for-fork-point.sh
enforce-consistent-style-for-github.sh
Expand All @@ -24,7 +25,6 @@ enforce-mocking-only-whitelisted-methods.sh
enforce-newline-at-eof.sh
enforce-release-notes-up-to-date.sh
enforce-shell-scripts-pass-shellcheck.sh
enforce-version-bumped.sh
prohibit-bash-usages-from-python.sh
prohibit-deploy-step-in-circleci.sh
prohibit-double-backticks-in-python.sh
Expand Down
5 changes: 4 additions & 1 deletion ci/deb-ppa-upload/build-context/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ debuild -S -p"/gpg-wrapper.sh"
cat ../python3-git-machete_*.dsc
cat ../python3-git-machete_*_source.buildinfo
cat ../python3-git-machete_*_source.changes
tar tvf ../python3-git-machete_*.tar.gz

tar_output=$(tar tvf ../python3-git-machete_*.tar.gz)
grep completion/ <<< "$tar_output"
grep docs/man/git-machete\.1 <<< "$tar_output"

envsubst '$LAUNCHPAD_USERNAME' < /dput.cf.envsubst | tee /etc/dput.cf
if [[ $DO_DPUT == true ]]; then
Expand Down
2 changes: 1 addition & 1 deletion git_machete/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '3.17.7'
__version__ = '3.17.8'

0 comments on commit fc91437

Please sign in to comment.