1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(release): Update README download links and MAINTAINING.md

This commit is contained in:
Anthony Bilinski 2018-04-22 13:51:46 -07:00
parent 7293151469
commit d7b6af9a5b
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
3 changed files with 15 additions and 4 deletions

View File

@ -212,6 +212,9 @@ Follow steps for adding translations from Weblate up to step 5. Next:
- Create and GPG-sign tarball using [`./tools/create-tarball.sh`] script, and
upload the tarball to the github release that was created by a Travis OSX
release job.
- Update download links on https://tox.chat to point to the new release.
- Write a short blog post for https://github.com/qTox/blog/ and advertise the post
on Tox IRC channels, popular Tox groups, reddit, or whatever other platforms.
# How to become a maintainer?

View File

@ -140,15 +140,15 @@ AED3 1134 9C23 A123 E5C4 AA4B 139C A045 3DA2 D773
```
[#qtox@freenode]: https://webchat.freenode.net/?channels=qtox
[64 bit release]: https://build.tox.chat/view/qtox/job/qTox_pkg_windows_x86-64_stable_release/lastSuccessfulBuild/artifact/setup-qtox.exe
[32 bit release]: https://build.tox.chat/view/qtox/job/qTox_pkg_windows_x86_stable_release/lastSuccessfulBuild/artifact/setup-qtox.exe
[64 bit release]: https://github.com/qTox/qTox/releases/download/v1.15.0/setup-qtox-x86_64-release.exe
[32 bit release]: https://github.com/qTox/qTox/releases/download/v1.15.0/setup-qtox-i686-release.exe
[32nightly]: https://build.tox.chat/view/qtox/job/qTox-cmake-nightly_build_windows_x86_release/lastSuccessfulBuild/artifact/qTox-cmake-nightly_build_windows_x86_release.zip
[64nightly]: https://build.tox.chat/view/qtox/job/qTox-cmake-nightly_build_windows_x86-64_release/lastSuccessfulBuild/artifact/qTox-cmake-nightly_build_windows_x86-64_release.zip
[Arch]: /INSTALL.md#arch
[Building instructions]: /INSTALL.md#os-x
[Contributing]: /CONTRIBUTING.md#how-to-start-contributing
[easy issues]: https://github.com/qTox/qTox/labels/E-easy
[Latest release]: https://github.com/qTox/qTox/releases/latest
[Latest release]: https://github.com/qTox/qTox/releases/download/v1.15.0/qTox.dmg
[Fedora]: /INSTALL.md#fedora
[Gentoo]: /INSTALL.md#gentoo
[Install/Build]: /INSTALL.md

View File

@ -36,6 +36,7 @@ set -eu -o pipefail
readonly SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
readonly BASE_DIR="$SCRIPT_DIR/../"
readonly VERSION_PATTERN="[0-9]+\.[0-9]+\.[0-9]+"
update_windows() {
( cd "$BASE_DIR/windows"
@ -47,11 +48,17 @@ update_osx() {
./update-plist-version.sh "$@" )
}
update_readme() {
cd "$BASE_DIR"
sed -ri "s|(github.com/qTox/qTox/releases/download/v)$VERSION_PATTERN|\1$@|g" README.md
}
# exit if supplied arg is not a version
is_version() {
if [[ ! $@ =~ [0-9\\.]+ ]]
if [[ ! $@ =~ $VERSION_PATTERN ]]
then
echo "Not a version: $@"
echo "Must match: $VERSION_PATTERN"
exit 1
fi
}
@ -64,6 +71,7 @@ main() {
then
update_osx "$@"
update_windows "$@"
update_readme "$@"
else
# TODO: actually check whether there is a GNU sed on osx
echo "OSX's sed not supported. Get a proper one."