From 58757d4533f028156cb3d14e9ca6be81ad6ecb3c Mon Sep 17 00:00:00 2001 From: Justintime50 <39606064+Justintime50@users.noreply.github.com> Date: Tue, 21 Sep 2021 22:24:17 -0600 Subject: [PATCH] chore: release v3.1.0 --- .github/workflows/build.yml | 4 ++-- CHANGELOG.md | 6 ++++++ go.mod | 4 ++-- go.sum | 2 ++ legacy/brew-backup.sh | 2 +- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 92a9e6e..94e631a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: "1.16" + go-version: "1.17" - name: Checkout Repository uses: actions/checkout@v2 - name: Run unit tests @@ -48,7 +48,7 @@ jobs: strategy: matrix: os: [macos-latest, ubuntu-latest, windows-latest] - go: [1.14, 1.15, 1.16] + go: [1.15, 1.16, 1.17] steps: - name: Set up Go uses: actions/setup-go@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 87a3971..ef22a51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # CHANGELOG +## v3.1.0 (2021-09-21) + +* Drops support for Go `1.15` +* Targets Go `1.17` +* Update dependencies + ## v3.0.0 (2021-05-04) * Replaces `restore-brew-packages.sh` and `restore-brew-casks.sh` with a single `Brewfile` which also now includes all installed `taps` diff --git a/go.mod b/go.mod index 00c52fe..ba7fb5f 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,9 @@ module github.com/Justintime50/alchemist -go 1.16 +go 1.17 require ( - github.com/BurntSushi/toml v0.3.1 // indirect + github.com/BurntSushi/toml v0.4.1 // indirect github.com/justintime50/mockcmd v0.2.0 github.com/natefinch/lumberjack v2.0.0+incompatible gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect diff --git a/go.sum b/go.sum index cc154be..aa558c7 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,7 @@ github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/BurntSushi/toml v0.4.1 h1:GaI7EiDXDRfa8VshkTj7Fym7ha+y8/XxIgD2okUIjLw= +github.com/BurntSushi/toml v0.4.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/justintime50/mockcmd v0.2.0 h1:aVKzj3e18//2npigGQhcEueJcw74aQoS1BJdRefjSuU= github.com/justintime50/mockcmd v0.2.0/go.mod h1:bW9UboX6hpqYbhOjsnSCqX1T9+L6clWJXYXbWsSVM1c= github.com/natefinch/lumberjack v2.0.0+incompatible h1:4QJd3OLAMgj7ph+yZTuX13Ld4UpgHp07nNdFX7mqFfM= diff --git a/legacy/brew-backup.sh b/legacy/brew-backup.sh index af86bfa..9dee13b 100644 --- a/legacy/brew-backup.sh +++ b/legacy/brew-backup.sh @@ -46,7 +46,7 @@ brew_backup() { make_packages_installable() { # Make scripts installable by appending the brew commands to the package names - # TODO: This usage of "sed" may not work on all flavors of Unix, replace if possible + # NOTE: This usage of "sed" assumes the BSD version is installed sed -i "" '3,$s/^/brew install /' "$PACKAGE_SCRIPT_LOCATION" sed -i "" '3,$s/^/brew cask install /' "$CASK_SCRIPT_LOCATION" }