Skip to content

Commit

Permalink
Fix travis deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
principis committed Nov 11, 2018
1 parent 3d6c731 commit 7dc054d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ deploy:
secure: DNhjx3yNFKyirettRCkScbOwYRYcdcFoSy8jzLsuF2lzjiyS5w9pTV8Pmu1SbjtBksZJJbfFw9QdAX1kJMVwASYgq9UCqyb13C9tg4bLGg+L4df5a1mdei4y4OTlWxF9iKQcllSzyWp52SnYfHSChQx54z6eEs6b8zosMveES1DE0GDnujDPmibrVomIjY01wrR6PLCEAB/V7jkpGcCeTe1P+58obGzH9u9xaMCR7mwdRBQ+KKSTyzlS3jp7GvgTUU9lYFnB2vDlwu5jgAl/ozKUdMVs5KP6hFmmT7GT8jM2mTUZC7985dLdIPi8f9Om1tNpaRJnDutju1c99qD92CisrMgTm2fwj009bOPvtItkmC/qcQokLWZRjcP5HLJyiNLFcGeLK1p6cJ1E3sQNkZ198N4UdB6tlhPBvM6OXGhdCh1BWGAllBli5VC/teaLbgNwEN3hJXjp85LBC0EL+vfsxcDMG2/2ytpdzF6h3Tb/L2J0DjO/WN32+NdY+oRRsrH+oe3bKoe4C+OP0/FxGay0nE1KJQUtxxuDBQ7AOG4pKDrmglr7o9sj6Y9XiNToTbMWAFclwBWMgaTa2RH6FKyRp9wLXj5PcFOfWCxOnEBKtvOxxXHW48/ppQoXTE+Kz0/HHBwS/aVaLapZ/OggaThXIy3qg/mja4XDxlm2uW4=
file_glob: true
file:
- tldr-sharp/bin/v*.zip
- tldr-sharp/bin/v*.tar.gz
- scripts/linux_install.sh
skip_cleanup: true
on:
tags: true
tags: true
8 changes: 4 additions & 4 deletions scripts/linux_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fi
# Download release

mkdir tldr
wget https://github.com/principis/tldr-sharp/releases/download/VERSION_PLACEHOLDER/VERSION_PLACEHOLDER.tar.gz >/dev/null 2>/dev/null
wget https://github.com/principis/tldr-sharp/releases/download/VERSION_PLACEHOLDER/VERSION_PLACEHOLDER.tar.gz >/dev/null
retval=$?

if [ $retval != 0 ]; then
Expand All @@ -23,8 +23,8 @@ fi

# Extract release

tar xzf v1.1.0.tar.gz -C tldr
rm v1.1.0.tar.gz
tar xzf VERSION_PLACEHOLDER.tar.gz -C tldr
rm VERSION_PLACEHOLDER.tar.gz
if [ -d "$tldrLib/tldr" ]; then
sudo rm -rf "$tldrLib/tldr"
fi
Expand All @@ -41,7 +41,7 @@ fi

# Download executable

wget https://raw.githubusercontent.com/principis/tldr-sharp/master/tldr >/dev/null 2>/dev/null
wget https://raw.githubusercontent.com/principis/tldr-sharp/master/tldr >/dev/null
retval=$?

if [ $retval != 0 ]; then
Expand Down

0 comments on commit 7dc054d

Please sign in to comment.