File tree Expand file tree Collapse file tree 3 files changed +15
-9
lines changed
Expand file tree Collapse file tree 3 files changed +15
-9
lines changed Original file line number Diff line number Diff line change 3838 restore-keys : |
3939 ${{ runner.os }}-prebuild-
4040 - run : ./gimme module | grep ^export | tee -a "${GITHUB_ENV}"
41+ - uses : actions/setup-go@v5
42+ with :
43+ go-version : ' stable'
4144 - run : make gimme-generate
4245 - uses : actions/upload-artifact@v3
4346 with :
8487 restore-keys : |
8588 ${{ runner.os }}-${{ matrix.env.target }}-${{ matrix.env.version }}-test-
8689 ${{ runner.os }}-${{ matrix.env.target }}-
90+ - uses : actions/setup-go@v5
91+ with :
92+ go-version : ' stable'
8793 - uses : actions/download-artifact@v3
8894 with :
8995 name : gimme-generate-${{ runner.os }}
Original file line number Diff line number Diff line change 1212
1313#
1414
15- 1.19 .3
16- 1.18.8
17- 1.17 .13
18- 1.16.15
19- 1.15.15
15+ 1.23 .3
16+ 1.22.9
17+ 1.21 .13
18+ 1.20.14
19+ 1.19.13
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ set -o pipefail
5555
5656[[ ${GIMME_DEBUG} ]] && set -x
5757
58- readonly GIMME_VERSION=" v1.8.0 "
58+ readonly GIMME_VERSION=" v1.8.1 "
5959readonly GIMME_COPYRIGHT=" Copyright (c) 2022 gimme contributors"
6060readonly GIMME_LICENSE_URL=" https://raw.githubusercontent.com/urfave/gimme/${GIMME_VERSION} /LICENSE"
6161export GIMME_VERSION
@@ -523,13 +523,13 @@ _list_versions() {
523523 local current_version
524524 current_version=" $( go env GOROOT 2> /dev/null) "
525525 current_version=" ${current_version##*/ go} "
526- current_version=" ${current_version%% .${GIMME_OS} .* } "
526+ current_version=" ${current_version%% ." ${GIMME_OS} " .* } "
527527
528528 # 1.1 1.10 1.2 is bad; zsh has `setopt numeric_glob_sort` but bash
529529 # doesn't appear to have anything like that.
530530 for d in " ${GIMME_VERSION_PREFIX} /go" * " .${GIMME_OS} ." * ; do
531531 local cleaned=" ${d##*/ go} "
532- cleaned=" ${cleaned%% .${GIMME_OS} .* } "
532+ cleaned=" ${cleaned%% ." ${GIMME_OS} " .* } "
533533 echo " ${cleaned} "
534534 done | _version_sort | while read -r cleaned; do
535535 echo -en " ${cleaned} "
@@ -652,7 +652,7 @@ _get_curr_stable() {
652652 _update_stable " ${stable} "
653653 fi
654654
655- cat " ${stable} "
655+ head -n 1 " ${stable} "
656656}
657657
658658_get_old_stable () {
You can’t perform that action at this time.
0 commit comments