We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 432d2d9 commit 85b2a33Copy full SHA for 85b2a33
update.sh
@@ -1,14 +1,9 @@
1
#!/bin/bash
2
3
# Gather latest version of discord
4
-#version=$(curl --head https://tdesktop.com/linux/ |grep Location |cut -d '/' -f 5 |cut -d '.' -f 2-4)
5
version=$(curl --head "https://discordapp.com/api/download?platform=linux&format=tar.gz" |grep Location |cut -d '/' -f 6)
6
7
-### DISCORD ####
8
9
-
10
sed -i 's/Discord\ Version\ [0-9]*\.[0-9]*\.[0-9]*$/\Discord\ Version\ '$version'/' Dockerfile
11
-#sed -i 's/tsetup.*.tar.xz\ \-O/tsetup.'$version'.tar.xz\ \-O/' Dockerfile
12
git commit -am "Discord version $version" -S
13
git tag -am "Discord version $version" $version
14
git push --follow-tags
0 commit comments