diff options
author | Phie <phie@phie.ovh> | 2018-09-23 19:40:18 +0300 |
---|---|---|
committer | Phie <phie@phie.ovh> | 2018-09-23 19:40:18 +0300 |
commit | cfc4b7829b6893e5e4a5273805126d1331128fa4 (patch) | |
tree | e94a89fa336c6b5153bfcc94ee82655cfdba29e6 | |
parent | 1ddc4b297f01e67ae59fd2dd3abeb97359d92e3f (diff) |
create tar
-rwxr-xr-x | release.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -20,7 +20,7 @@ version="v$1" directory_name="carnet-nc-$version" zip_name="carnet-nc-$version.zip" -tar_name="carnet-nc-$version.tar.xz" +tar_name="carnet-nc-$version.tar.gz" changelog=$(awk -v version="$version" '/## v/ { printit = $2 == version }; printit;' CHANGELOG.md | grep -v "$version" | sed '1{/^$/d}') @@ -31,7 +31,7 @@ echo if [[ ! $REPLY =~ ^[Yy]$ ]]; then exit 0 fi -git tag -a "$version" -m "$version" +#git tag -a "$version" -m "$version" # Creating the archives ( @@ -43,6 +43,7 @@ git tag -a "$version" -m "$version" # archive creation + signing zip -r "$cur""/$zip_name" * + tar cfJ "$cur""/$tar_name" * cd "$cur" rm ../CarnetNextcloudTmp -R # temporary setup destruction @@ -53,6 +54,7 @@ git tag -a "$version" -m "$version" git push origin --tag github-release phief/CarnetNextcloud "$version" master "$changelog" "$zip_name" + github-release phief/CarnetNextcloud "$version" master "$changelog" "$tar_name" #github-release upload --user phief --repo exode --tag "$version" --name "$zip_name" --file "$zip_name" git push origin master |