Skip to content

Commit 85b2a33

Browse files
author
Christophe Boucharlat
committed
cleanup update script
1 parent 432d2d9 commit 85b2a33

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

update.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
#!/bin/bash
22

33
# Gather latest version of discord
4-
#version=$(curl --head https://tdesktop.com/linux/ |grep Location |cut -d '/' -f 5 |cut -d '.' -f 2-4)
54
version=$(curl --head "https://discordapp.com/api/download?platform=linux&format=tar.gz" |grep Location |cut -d '/' -f 6)
65

7-
### DISCORD ####
8-
### DISCORD ####
9-
106
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
127
git commit -am "Discord version $version" -S
138
git tag -am "Discord version $version" $version
149
git push --follow-tags

0 commit comments

Comments
 (0)