Commit df82ba0b authored by Addshore's avatar Addshore 🏄
Browse files

Prepare 0.4.0 release

parent 6b4c33e0
......@@ -164,9 +164,12 @@ release-publish:
script:
- (echo "## ${CI_COMMIT_TAG}" && echo "CHANGELOG extracted from https://gitlab.wikimedia.org/releng/cli/-/blob/main/CHANGELOG.md" && sed "/^## ${CI_COMMIT_TAG}$/,/^## /"'!d'";//d;/\^$/d" CHANGELOG.md) > .gitlab.description.md
- assets_links=""
# Manually maintained list of files to upload to release, until https://phabricator.wikimedia.org/T292372 is changed
# This used to just list the files that were in a directory!
- >
for release_path in $(find ./_release -type f); do
release_file=$(echo $release_path | sed "s/.*\///")
for release_suffix in linux_arm.sha256 windows_amd64.exe linux_amd64.sha256 linux_386 darwin_amd64.sha256 darwin_amd64 linux_amd64 windows_amd64.exe.sha256 linux_386.sha256 linux_ppc64le linux_arm64 linux_arm linux_ppc64le.sha256 linux_arm64.sha256
do
release_file="mw_${CI_COMMIT_TAG}_$release_suffix"
assets_links="${assets_links} --assets-link {\"name\":\"${release_file}\",\"url\":\"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/mwcli/${CI_COMMIT_TAG}/${release_file}\"}"
done
- release-cli create --name "Release $CI_COMMIT_TAG" --description ".gitlab.description.md" --released-at "${CI_COMMIT_TIMESTAMP}" ${assets_links}
......@@ -8,6 +8,19 @@ Each tagged release MUST have a section 2 heading starting at the time of releas
- ...
## v0.4.0
- Added `gerrit` command with `project` subcommand.
- Added `docker fresh` command.
- Added `docker memcached` command and service.
- Added `docker env clear` command to clear all environment variables.
- Added work in progress `docker quibble` command.
- Improved help output for the `docker redis` command.
- Fixed exit codes for various `docker hosts` commands.
- Fixed aborting of initial setup prompts for `docker mediawiki` (thanks Lens0021).
- Fixed typos throughout (thanks Lens0021).
- `$wgTmpDirectory` is no longer set by `docker mediawiki`, allowing the MediaWiki default to prevail.
## v0.3.0
- Added `gitlab` command for interacting with the Wikimedia Gitlab instance.
......
......@@ -42,7 +42,4 @@ func sshGerritCommand(args []string) *exec.Cmd {
func init() {
rootCmd.AddCommand(mwddGerritCmd)
mwddGerritCmd.AddCommand(mwddGerritProjectCmd)
mwddGerritProjectCmd.AddCommand(mwddGerritProjectListCmd)
mwddGerritProjectCmd.AddCommand(mwddGerritProjectSearchCmd)
mwddGerritProjectCmd.AddCommand(mwddGerritProjectCurrentCmd)
}
......@@ -95,8 +95,6 @@ var mwddGerritProjectCurrentCmd = &cobra.Command{
}
func init() {
rootCmd.AddCommand(mwddGerritCmd)
mwddGerritCmd.AddCommand(mwddGerritProjectCmd)
mwddGerritProjectCmd.AddCommand(mwddGerritProjectListCmd)
mwddGerritProjectCmd.AddCommand(mwddGerritProjectSearchCmd)
mwddGerritProjectCmd.AddCommand(mwddGerritProjectCurrentCmd)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment