Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhie <phie@phie.ovh>2018-09-23 19:40:18 +0300
committerPhie <phie@phie.ovh>2018-09-23 19:40:18 +0300
commitcfc4b7829b6893e5e4a5273805126d1331128fa4 (patch)
treee94a89fa336c6b5153bfcc94ee82655cfdba29e6 /release.sh
parent1ddc4b297f01e67ae59fd2dd3abeb97359d92e3f (diff)
create tar
Diffstat (limited to 'release.sh')
-rwxr-xr-xrelease.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/release.sh b/release.sh
index 14106d0..c8212ea 100755
--- a/release.sh
+++ b/release.sh
@@ -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