Private GIT

Skip to content
Snippets Groups Projects
Commit 4cb75ce6 authored by Nic Wolfe's avatar Nic Wolfe
Browse files

Added build 495 to the updates list, changed the changelog to be static and...

Added build 495 to the updates list, changed the changelog to be static and simply point to the wiki
parent 27383873
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,6 @@ autoProcessTV/build/* ...@@ -29,7 +29,6 @@ autoProcessTV/build/*
SickBeard-win32-*.zip SickBeard-win32-*.zip
*.exe *.exe
gc.ini gc.ini
CHANGELOG.txt
*.tmp *.tmp
*.wpr *.wpr
*.project *.project
......
See https://github.com/midgetspy/Sick-Beard/wiki/ChangeLog
\ No newline at end of file
...@@ -3,7 +3,6 @@ import urllib, ConfigParser ...@@ -3,7 +3,6 @@ import urllib, ConfigParser
from distutils.core import setup from distutils.core import setup
import py2exe, sys, os, shutil, datetime, zipfile, subprocess, fnmatch import py2exe, sys, os, shutil, datetime, zipfile, subprocess, fnmatch
import googlecode_upload import googlecode_upload
from lib.pygithub import github
# mostly stolen from the SABnzbd package.py file # mostly stolen from the SABnzbd package.py file
name = 'SickBeard' name = 'SickBeard'
...@@ -164,45 +163,6 @@ setup( ...@@ -164,45 +163,6 @@ setup(
console = ['updater.py'], console = ['updater.py'],
) )
if 'test' in oldArgs:
print "Ignoring changelog for test build"
else:
# start building the CHANGELOG.txt
print 'Creating changelog'
gh = github.GitHub()
# read the old changelog and find the last commit from that build
lastCommit = ""
try:
cl = open("CHANGELOG.txt", "r")
lastCommit = cl.readlines()[0].strip()
cl.close()
except:
print "I guess there's no changelog"
newestCommit = ""
changeString = ""
# cycle through all the git commits and save their commit messages
for curCommit in gh.commits.forBranch('midgetspy', 'Sick-Beard'):
if curCommit.id == lastCommit:
break
if newestCommit == "":
newestCommit = curCommit.id
changeString += curCommit.message + "\n\n"
# if we didn't find any changes don't make a changelog file
if newestCommit != "":
newChangelog = open("CHANGELOG.txt", "w")
newChangelog.write(newestCommit+"\n\n")
newChangelog.write("Changelog for build "+str(currentBuildNumber)+"\n\n")
newChangelog.write(changeString)
newChangelog.close()
else:
print "No changes found, keeping old changelog"
# put the changelog in the compile dir # put the changelog in the compile dir
if os.path.exists("CHANGELOG.txt"): if os.path.exists("CHANGELOG.txt"):
shutil.copy('CHANGELOG.txt', 'dist/') shutil.copy('CHANGELOG.txt', 'dist/')
......
http://sickbeard.googlecode.com/files/SickBeard-win32-alpha-build495.zip
http://sickbeard.googlecode.com/files/SickBeard-win32-alpha-build494.zip http://sickbeard.googlecode.com/files/SickBeard-win32-alpha-build494.zip
http://sickbeard.googlecode.com/files/SickBeard-win32-alpha-build493.zip http://sickbeard.googlecode.com/files/SickBeard-win32-alpha-build493.zip
http://sickbeard.googlecode.com/files/SickBeard-win32-alpha-build492.zip http://sickbeard.googlecode.com/files/SickBeard-win32-alpha-build492.zip
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment