Skip to content
Snippets Groups Projects
Commit e7e8f161 authored by George Nachman's avatar George Nachman
Browse files

Change release_stable to update the htaccess file for the latest stable download

parent 01686dcd
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -67,7 +67,11 @@ function Build {
shasum -a256 iTerm2-${NAME}.zip | awk '{print $1}' >> $SVNDIR/downloads/stable/iTerm2-${NAME}.changelog
vi $SVNDIR/downloads/stable/iTerm2-${NAME}.changelog
pushd $SVNDIR
git add downloads/stable/iTerm2-${NAME}.summary downloads/stable/iTerm2-${NAME}.description downloads/stable/iTerm2-${NAME}.changelog downloads/stable/iTerm2-${NAME}.zip source/appcasts/final.xml source/appcasts/full_changes.txt
echo 'Options +FollowSymlinks' > ~/iterm2-website/downloads/stable/.htaccess
echo 'Redirect 302 /downloads/stable/latest https://iterm2.com/downloads/stable/iTerm2-'${NAME}'.zip' >> ~/iterm2-website/downloads/stable/.htaccess
git add downloads/stable/iTerm2-${NAME}.summary downloads/stable/iTerm2-${NAME}.description downloads/stable/iTerm2-${NAME}.changelog downloads/stable/iTerm2-${NAME}.zip source/appcasts/final.xml source/appcasts/full_changes.txt downlaods/stable/.htaccess
popd
 
# Prepare the sparkle xml file
Loading
Loading
@@ -97,11 +101,12 @@ Build $BUILDTYPE "" "OS 10.10+" "This is the recommended build for most users."
git checkout -- version.txt
#set -x
 
echo git tag v${VERSION}
echo git commit -am ${VERSION}
echo git push origin master
echo git push --tags
echo cd $SVNDIR
echo git commit -am v${VERSION}
echo git push origin master
git tag v${VERSION}
git commit -am ${VERSION}
git push origin master
git push --tags
cd $SVNDIR
git commit -am v${VERSION}
git push origin master
 
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment