Skip to content

Commit e9e151f

Browse files
authored
Merge pull request #10 from urfave/v1.6.0-prep
Preparing for v1.6.0 release
2 parents 924df1d + ffa5cc1 commit e9e151f

File tree

4 files changed

+35
-7
lines changed

4 files changed

+35
-7
lines changed

.github/workflows/main.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,45 @@ jobs:
1818
goos: linux
1919
goarch: amd64
2020
target: native
21-
# TODO: more matrix entries
21+
# - runner: ubuntu-latest
22+
# goos: linux
23+
# goarch: arm64
24+
# target: arm64
25+
- runner: macos-latest
26+
goos: darwin
27+
goarch: amd64
28+
target: native
29+
# - runner: macos-latest
30+
# goos: darwin
31+
# goarch: arm64
32+
# target: arm64
2233
runs-on: ${{ matrix.env.runner }}
2334
env:
2435
TARGET: ${{ matrix.env.target }}
2536
GOOS: ${{ matrix.env.goos }}
2637
GOARCH: ${{ matrix.env.goarch }}
2738
steps:
2839
- uses: actions/checkout@v3
40+
- uses: actions/cache@v3
41+
with:
42+
path: ${HOME}/.gimme
43+
key: "${{ runner.os }}-${{ matrix.env.target }}-gimme-${{ hashFiles('.testdata/*-${{ matrix.env.goos }}') }}"
44+
restore-keys: |
45+
${{ runner.os }}-${{ matrix.env.target }}-gimme-
2946
- run: printf 'GIMME_TMP=%s\n' "${RUNNER_TEMP}" | tee -a "${GITHUB_ENV}"
3047
- run: printf 'UNAME=%s\n' "$(uname | tr '[:upper:]' '[:lower:]')" | tee -a "${GITHUB_ENV}"
3148
- run: |
32-
GO_VERSIONS="$(sed -n -e '/^[^#]/p' < .testdata/sample-binary-$UNAME) $(sed -n -e '/^[^#]/p' < .testdata/source-$UNAME)"
33-
printf 'GO_VERSIONS=%s\n' "$(echo "${GO_VERSIONS}" | tr '\n' ' ')" | tee -a "${GITHUB_ENV}"
49+
GO_VERSIONS="$(sed -n -e '/^[^#]/p' < .testdata/sample-binary-$UNAME) $(sed -n -e '/^[^#]/p' < .testdata/source-$UNAME)";
50+
printf 'GO_VERSIONS=%s\n' "$(echo "${GO_VERSIONS}" | tr '\n' ' ')" | tee -a "${GITHUB_ENV}";
3451
- run: printf 'PATH=%s\n' "${HOME}/bin:${PATH}" | tee -a "${GITHUB_ENV}"
3552
- run: mkdir -p "${HOME}/bin"
36-
- run:
53+
- run: |
3754
if [ $UNAME = linux ] && [[ $(shellcheck --version | awk '/^version:/ { print $2 }') != 0.7.1 ]] ; then
3855
curl -sSL -o "${GIMME_TMP}/shellcheck.tar.xz" "${SHELLCHECK_URL}";
3956
tar -C "${HOME}/bin" --exclude="*.txt" --strip-components=1 -xf "${GIMME_TMP}/shellcheck.tar.xz";
4057
shellcheck --version;
4158
fi
42-
- run:
59+
- run: |
4360
if [ $UNAME = linux ] && [[ $(shfmt -version 2>/dev/null) != v3.5.1 ]] ; then
4461
curl -sSL "${SHFMT_URL}" -o "${HOME}/bin/shfmt";
4562
chmod +x "${HOME}/bin/shfmt";
@@ -50,5 +67,6 @@ jobs:
5067
- run: git diff --cached --exit-code
5168
- run: ./gimme -h
5269
- run: ./gimme -V
70+
- run: ./gimme -l
5371
- run: ./runtests "${TARGET}" "${GO_BOOTSTRAP_VERSION}" ${GO_VERSIONS}
5472
- run: ./gimme -l

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
> **NOTE**: This file is no longer actively maintained. For
2+
> releases 1.5.4+ please refer to the relevant github releases page
3+
> for changelog-style notes.
4+
15
# Change Log
26
All notable changes to this project will be documented in this file.
37
This project adheres to [Semantic Versioning](http://semver.org/).

CONTRIBUTORS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
gimme was built by these wonderful humans:
2+
- Abhinav Gupta
23
- Alexey Palazhchenko
34
- Andrew Stone
5+
- Arek Rus
46
- Asato Wakisaka
57
- Ben Burkert
68
- Carmen Andoh
79
- Cezar Sa Espinola
810
- Dan Buch
911
- Daniel Martí
1012
- Dan Peterson
13+
- Dominic Jodoin
1114
- Dylan Waits
1215
- Euan Kemp
1316
- Florin Patan
@@ -17,6 +20,8 @@ gimme was built by these wonderful humans:
1720
- Geoff Levand
1821
- Hiro Asari
1922
- Hiroshi Ioka
23+
- Joep van Delft
24+
- Jules Denardou
2025
- Koichi Shiraishi
2126
- lupan2005
2227
- Matt Larraz
@@ -25,6 +30,7 @@ gimme was built by these wonderful humans:
2530
- Nathan Youngman
2631
- Otto Jongerius
2732
- Phil Pennock
33+
- Robert Mazur
2834
- Thomas Heller
2935
- Tianon Gravi
3036
- Tom Cahill

gimme

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ set -o pipefail
5454

5555
[[ ${GIMME_DEBUG} ]] && set -x
5656

57-
readonly GIMME_VERSION="v1.5.4"
57+
readonly GIMME_VERSION="v1.6.0"
5858
readonly GIMME_COPYRIGHT="Copyright (c) 2022 gimme contributors"
5959
readonly GIMME_LICENSE_URL="https://raw.githubusercontent.com/urfave/gimme/${GIMME_VERSION}/LICENSE"
6060
export GIMME_VERSION
@@ -285,7 +285,7 @@ _extract() {
285285

286286
# _setup_bootstrap
287287
_setup_bootstrap() {
288-
local versions=("1.18" "1.17" "1.16" "1.15" "1.14" "1.13" "1.12" "1.11" "1.10" "1.9" "1.8" "1.7" "1.6" "1.5" "1.4")
288+
local versions=("1.19" "1.18" "1.17")
289289

290290
# try existing
291291
for v in "${versions[@]}"; do

0 commit comments

Comments
 (0)