* Tweak some release-build script parameters * adapt test to new release scripting * whoopsies * fix sh permissions * some fixes * use with * test bump * don't build indexes when running without production flag either * also validate the catalog * PWD/catalog * mtching " * Don't make change to primary repo when building catalog * Add doc generation feature * try fetch depth 100 * remove helm-prep step to speedup test init * also generate general docs * adapt release workflow and some workflow cleanup
8 lines
244 B
Bash
Executable File
8 lines
244 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
version=$(curl -sX GET "https://api.github.com/repos/inverse-inc/sogo/releases" | jq --raw-output '.[0].tag_name')
|
|
version="${version#*SOGo-}"
|
|
version="${version#*release-}"
|
|
version="${version#*v}"
|
|
printf "%s" "${version}"
|