From cc1d6f53a0452de98a0d08fb129bbf439c3f0d06 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Wed, 17 Jan 2018 20:27:09 -0800 Subject: [PATCH] 55: Fix for missing tags/releases from Gitea and GitHub project hosting. --- NEWS | 1 + scripts/push | 4 ++-- scripts/release | 5 +++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index ee22c8c..c7d0df8 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ 1.1.15.dev0 * Support for Borg BORG_PASSCOMMAND environment variable to read a password from an external file. + * #55: Fix for missing tags/releases from Gitea and GitHub project hosting. 1.1.14 * #49: Fix for typo in --patterns-from option. diff --git a/scripts/push b/scripts/push index 1aba7ec..8818d2e 100755 --- a/scripts/push +++ b/scripts/push @@ -2,5 +2,5 @@ set -e -git push -u origin -git push -u github +git push -u origin master +git push -u github master diff --git a/scripts/release b/scripts/release index 288e841..d109d97 100755 --- a/scripts/release +++ b/scripts/release @@ -2,6 +2,11 @@ set -e +version=$(head --lines=1 NEWS) +git tag $version +git push origin $version +git push github $version + rm -fr dist python3 setup.py bdist_wheel python3 setup.py sdist