diff --git a/.github/workflows/CHANGELOG.md b/.github/workflows/CHANGELOG.md deleted file mode 100644 index 5701b9c..0000000 --- a/.github/workflows/CHANGELOG.md +++ /dev/null @@ -1,25 +0,0 @@ -# Changelog - -## [Unreleased] - -## [0.12.0] - 2022-09-03 - -### Fixed - -- Upload was failing due to wrong listing - -## [0.11.0] - 2022-08-20 - -### Added - -- Added build test - -### Fixed - -- Replaced broken actions/release with gh cli - -## [0.8.0] - 2021-04-27 - -### Added - -- Included master branch for test target diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 0a738a9..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,254 +0,0 @@ -# Changelog - -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [Unreleased] - -## [0.14.0] - 2023-09-04 - -### Added - -- GiHub styled vX.Y.Z semver, by @oz-rw - -## [0.13.0] - 2022-09-18 - -### Added - -- Added test for main.go - -### Changed - -- More comments on functions -- Changed to Go 1.17 - -### Removed - -- Removed unused git handler - -## [0.12.0] - 2022-09-03 - -### Added - -- Added more tests - -### Changed - -- Changed module name to github.com/tomodian/release - -### Removed - -- Removed Codecov config which was ignoring cmd directory - -## [0.11.0] - 2022-08-20 - -### Added - -- Added build configuration for darwin/arm64 - -### Changed - -- Switched to go install - -## [0.10.0] - 2022-08-20 - -### Added - -- Added newline flag and implemented in 'next' task - -### Changed - -- Updated README -- Separated flag functions into cmd/task/flag packages -- Separated subcommands into task package -- Separated flags and keys into dedicated packages - -## [0.9.2] - 2021-07-14 - -### Fixed - -- CD pipeline was failing due to wrong merge - -## [0.9.1] - 2021-07-14 - -### Fixed - -- GitHub Actions ubuntu machine could not build darwin/arm64 image, therefore separated build commands - -## [0.9.0] - 2021-07-14 - -### Added - -- Added darwin/arm64 build -- Implemented --any flag - -## [0.8.2] - 2021-07-14 - -### Changed - -- Switched path matching logic from contain to exact match - -## [0.8.1] - 2021-04-27 - -### Changed - -- Limited number of build targets to speed up the CI pipeline - -## [0.8.0] - 2021-04-27 - -### Added - -- Version type support for GitFlow idiom - -### Changed - -- Updated README.md -- No newline on version type rendering -- Renamed `next` command to `unreleased`, `version` command to `next` - -## [0.7.0] - 2021-04-23 - -### Added - -- Added version task to suggest new version in CLI -- Created VersionType to handle major, minor, patch versions -- Created Git repository parser to retrieve a list of tags -- Created Semantic Versioning parser - -### Changed - -- Moved CLI commands into cmd directory -- Updated dependencies - -## [0.6.1] - 2021-04-20 - -- Removed .git directory from exclusion list, to include .github directory - -## [0.6.0] - 2021-04-09 - -### Added - -- In show and next tasks, implemented ignore flag to skip rendering empty changes - -## [0.5.1] - 2021-04-02 - -### Fixed - -- Excluded darwin/386 arch due to deprecation - -## [0.5.0] - 2021-03-25 - -### Changed - -- Render Markdown as default style - -## [0.4.0] - 2020-10-07 - -### Added - -- More directories to exclude from grep -- Latest task to show the latest released version - -## [0.3.2] - 2020-07-20 - -### Added - -- Some more tests - -## [0.3.1] - 2020-07-20 - -### Added - -- Makefile task to see coverage report -- Some tests - -## [0.3.0] - 2020-07-17 - -### Added - -- Codecov reports and badges - -### Changed - -- Show CHANGELOG.md in relative path - -## [0.2.2] - 2020-07-17 - -### Added - -- Ignored common vendor directories - -### Changed - -- Moved utils.Glob to files - -## [0.2.1] - 2020-07-17 - -### Added - -- Command examples on README - -## [0.2.0] - 2020-07-17 - -### Added - -- File writer to persist changes -- More tests for utils - -### Changed - -- Moved utils.ReadFile to files.Read - -## [0.1.7] - 2020-07-17 - -### Changed - -- Switched to use 'hub release edit' command to attach files - -## [0.1.6] - 2020-07-17 - -### Fixed - -- Typo on hub release - -## [0.1.5] - 2020-07-17 - -### Fixed - -- Explicitly added Go binary path - -## [0.1.4] - 2020-07-17 - -### Fixed - -- Trying to download gox by directly calling go get - -## [0.1.3] - 2020-07-17 - -### Fixed - -- Setup actions/setup-go@v2 before calling Build step - -## [0.1.2] - 2020-07-17 - -### Fixed - -- Use actions/setup-go@v2 for build - -## [0.1.1] - 2020-07-17 - -### Fixed - -- Added installation step on release - -## [0.1.0] - 2020-07-17 - -### Added - -- GitHub Actions release.yml -- GitHub Actions test.linux.yml -- License -- Executable bundler for \*nix and Windows -- Parser and utils diff --git a/Makefile b/Makefile index 00c6b53..be726b3 100644 --- a/Makefile +++ b/Makefile @@ -24,22 +24,14 @@ build: clean -osarch="linux/arm" \ -osarch="linux/amd64" \ -osarch="windows/amd64" - @echo "Bundling.." - $(MAKE) bundle-nix - $(MAKE) bundle-windows - -build-darwin: clean - @echo "Building.." - gox -output="$(BUILD)/{{.Dir}}_{{.OS}}_{{.Arch}}" \ - -osarch="darwin/amd64" \ - -osarch="darwin/arm64" - @echo "Notarizing.." + @echo "Notarizing MacOS binary.." ./quill sign-and-notarize ./build/release_darwin_amd64 || true ./quill sign-and-notarize ./build/release_darwin_arm64 || true @echo "Bundling.." $(MAKE) bundle-nix + $(MAKE) bundle-windows run: go run main.go diff --git a/README.md b/README.md index fd717b5..5a85a92 100644 --- a/README.md +++ b/README.md @@ -131,17 +131,6 @@ The tool also supports [Github-style semver](https://semver.org/#is-v123-a-seman make build -## Issues? - -### MacOS "developer cannot be verified" error - -Note MacOS Catalina will warn you when executing this binary in command-line. -Follow these steps to give your permission. - -1. In the Finder on your Mac, unzip the `release` app and open the `release` binary -2. MacOS will prompt you to enable the binary, so answer yes -3. Now you can use the binary from command-line. - ## License [Mozilla Public License v2.0](LICENSE)