Last active
February 9, 2017 20:54
-
-
Save Stebalien/25fa39c5d60db7311602 to your computer and use it in GitHub Desktop.
Arch Linux rust-nightly updater
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
VERSION=$(curl "https://static.rust-lang.org/dist/channel-rust-nightly-date.txt") | |
sed -i PKGBUILD -e 's/^_date=.*$/_date='"${VERSION}/" | |
makepkg -sirf --noconfirm | |
git add PKGBUILD | |
git commit -m "bump" | |
git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment