|
5 | 5 | # \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under European Union Public License v. 1.2
|
6 | 6 | # /___/ Please report bugs and contribute back your improvements
|
7 | 7 | #
|
8 |
| -# Version: v1.0.4 |
| 8 | +# Version: v1.1.0 |
9 | 9 | ###################################
|
10 | 10 | name: "gt update"
|
11 | 11 | on:
|
|
40 | 40 | echo "public key trusted" && \
|
41 | 41 | mkdir ./gpg && \
|
42 | 42 | gpg --homedir ./gpg --import ./signing-key.public.asc && \
|
43 |
| - wget "https://raw.githubusercontent.com/tegonal/gt/v1.0.4/install.sh" && \ |
44 |
| - wget "https://raw.githubusercontent.com/tegonal/gt/v1.0.4/install.sh.sig" && \ |
| 43 | + wget "https://raw.githubusercontent.com/tegonal/gt/v1.1.0/install.sh" && \ |
| 44 | + wget "https://raw.githubusercontent.com/tegonal/gt/v1.1.0/install.sh.sig" && \ |
45 | 45 | gpg --homedir ./gpg --verify ./install.sh.sig ./install.sh && \
|
46 | 46 | chmod +x ./install.sh && \
|
47 | 47 | echo "verification successful" || (printf >&2 "\033[0;31mERROR\033[0m: verification failed, don't continue !!\n"; exit 1) && \
|
|
79 | 79 | echo "public key trusted" && \
|
80 | 80 | mkdir ./gpg && \
|
81 | 81 | gpg --homedir ./gpg --import ./signing-key.public.asc && \
|
82 |
| - wget "https://raw.githubusercontent.com/tegonal/gt/v1.0.4/install.sh" && \ |
83 |
| - wget "https://raw.githubusercontent.com/tegonal/gt/v1.0.4/install.sh.sig" && \ |
| 82 | + wget "https://raw.githubusercontent.com/tegonal/gt/v1.1.0/install.sh" && \ |
| 83 | + wget "https://raw.githubusercontent.com/tegonal/gt/v1.1.0/install.sh.sig" && \ |
84 | 84 | gpg --homedir ./gpg --verify ./install.sh.sig ./install.sh && \
|
85 | 85 | chmod +x ./install.sh && \
|
86 | 86 | echo "verification successful" || (printf >&2 "\033[0;31mERROR\033[0m: verification failed, don't continue !!\n"; exit 1) && \
|
@@ -157,7 +157,7 @@ jobs:
|
157 | 157 | while read -r key; do
|
158 | 158 | keyId=$(cut -d ':' -f5 <<<"$key")
|
159 | 159 | expirationTimestamp=$(cut -d ':' -f7 <<<"$key")
|
160 |
| - if (( expirationTimestamp < $limitTimestamp )); then |
| 160 | + if (( expirationTimestamp < limitTimestamp )); then |
161 | 161 | expirationDate=$(date -d "@$((expirationTimestamp + 0))" +"%Y-%m-%dT%H:%M:%S")
|
162 | 162 | printf >&2 "\033[0;31mERROR\033[0m: expiration date (%s) of key %s is before the given limit %s\n" "$expirationDate" "$keyId" "$limitDate"
|
163 | 163 | ((++expired))
|
@@ -193,7 +193,7 @@ jobs:
|
193 | 193 | while read -r key; do
|
194 | 194 | keyId=$(cut -d ':' -f5 <<<"$key")
|
195 | 195 | expirationTimestamp=$(cut -d ':' -f7 <<<"$key")
|
196 |
| - if (( expirationTimestamp < $limitTimestamp )); then |
| 196 | + if (( expirationTimestamp < limitTimestamp )); then |
197 | 197 | expirationDate=$(date -d "@$((expirationTimestamp + 0))" +"%Y-%m-%dT%H:%M:%S")
|
198 | 198 | printf >&2 "\033[0;31mERROR\033[0m: expiration date (%s) of key %s is before the given limit %s\n" "$expirationDate" "$keyId" "$limitDate"
|
199 | 199 | ((++expired))
|
|
0 commit comments