parent
558a584df1
commit
3191afc0d3
|
@ -5,5 +5,5 @@ driftctl_url=https://api.github.com/repos/cloudskiff/driftctl/tags\?page\=1\&per
|
|||
|
||||
remote_versions="$(curlw -sSf $driftctl_url)" || log_error "Failed to download remote versions from GitHub"
|
||||
|
||||
echo $remote_versions | grep -o '"name": "v[^"]*"' | cut -d '"' -f 4 | cut -c 2- | sort
|
||||
echo $remote_versions | grep -o '"name": "v[^"]*"' | cut -d '"' -f 4 | cut -c 2- | sort -V
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
set -uo pipefail
|
||||
|
||||
version="0.1.5"
|
||||
version="0.1.6"
|
||||
git_revision=""
|
||||
|
||||
if cd "${BASH_SOURCE%/*}" 2>/dev/null && git remote -v 2>/dev/null | grep -q dctlenv; then
|
||||
|
|
|
@ -26,5 +26,8 @@ load "./test_helper"
|
|||
0.2.3
|
||||
0.3.0
|
||||
0.3.1
|
||||
0.10.0
|
||||
0.11.0
|
||||
1.0.0
|
||||
OUT
|
||||
}
|
||||
|
|
|
@ -1,4 +1,34 @@
|
|||
[
|
||||
{
|
||||
"name": "v1.0.0",
|
||||
"zipball_url": "https://api.github.com/repos/cloudskiff/driftctl/zipball/v1.0.0",
|
||||
"tarball_url": "https://api.github.com/repos/cloudskiff/driftctl/tarball/v1.0.0",
|
||||
"commit": {
|
||||
"sha": "cdea16b5dbca1c6205068d74b092b3e5284cabbd",
|
||||
"url": "https://api.github.com/repos/cloudskiff/driftctl/commits/cdea16b5dbca1c6205068d74b092b3e5284cabbd"
|
||||
},
|
||||
"node_id": "MDM6UmVmMjk3NjIyOTQ1OnJlZnMvdGFncy92MC4zLjE="
|
||||
},
|
||||
{
|
||||
"name": "v0.11.0",
|
||||
"zipball_url": "https://api.github.com/repos/cloudskiff/driftctl/zipball/v0.11.0",
|
||||
"tarball_url": "https://api.github.com/repos/cloudskiff/driftctl/tarball/v0.11.0",
|
||||
"commit": {
|
||||
"sha": "cdea16b5dbca1c6205068d74b092b3e5284cabbd",
|
||||
"url": "https://api.github.com/repos/cloudskiff/driftctl/commits/cdea16b5dbca1c6205068d74b092b3e5284cabbd"
|
||||
},
|
||||
"node_id": "MDM6UmVmMjk3NjIyOTQ1OnJlZnMvdGFncy92MC4zLjE="
|
||||
},
|
||||
{
|
||||
"name": "v0.10.0",
|
||||
"zipball_url": "https://api.github.com/repos/cloudskiff/driftctl/zipball/v0.10.0",
|
||||
"tarball_url": "https://api.github.com/repos/cloudskiff/driftctl/tarball/v0.10.0",
|
||||
"commit": {
|
||||
"sha": "cdea16b5dbca1c6205068d74b092b3e5284cabbd",
|
||||
"url": "https://api.github.com/repos/cloudskiff/driftctl/commits/cdea16b5dbca1c6205068d74b092b3e5284cabbd"
|
||||
},
|
||||
"node_id": "MDM6UmVmMjk3NjIyOTQ1OnJlZnMvdGFncy92MC4zLjE="
|
||||
},
|
||||
{
|
||||
"name": "v0.3.1",
|
||||
"zipball_url": "https://api.github.com/repos/cloudskiff/driftctl/zipball/v0.3.1",
|
||||
|
|
Loading…
Reference in New Issue