-
Notifications
You must be signed in to change notification settings - Fork 172
SD EPG fixes [ci release] #493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
167c011
f8c76d6
9dc22cf
0c3aa08
ff61323
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,7 +48,7 @@ ext { | |
| version = fullVersion | ||
|
|
||
| // Just printing out the SAGETV build version for informational purposes | ||
| // System.out.println("SAGETV VERSION ${versionArch}"); | ||
| //System.out.println("SAGETV VERSION ${versionArch}"); | ||
|
|
||
| // set gradle's buildDir to something other than the default 'build', or | ||
| // we'll end up deleting EVERYTHING in 'build' when we ./gradlew clean | ||
|
|
@@ -322,19 +322,22 @@ def getBuildNumber() { | |
|
|
||
| if (OperatingSystem.current().isLinux()) { | ||
| // use git to find the build version | ||
| ant.exec( | ||
| command: 'git rev-list HEAD --count', | ||
| os: 'Linux', | ||
| failonerror: true, | ||
| outputproperty: 'sagebuildnum') | ||
|
|
||
| buildVer = ant.sagebuildnum | ||
| // 03-06-2025 jusjoken: Also we should note that you will get error code 128 if you have git | ||
| // installed, but you did not pull this project using git because git will not know where | ||
| // to get the commit count from. | ||
| new ByteArrayOutputStream().withStream { outputStream -> | ||
| exec { | ||
| executable 'git' | ||
| args 'rev-list', 'HEAD', '--count' | ||
| standardOutput = outputStream | ||
| } | ||
| buildVer = outputStream.toString().trim() | ||
| } | ||
| } else if (OperatingSystem.current().isWindows()) { | ||
| //ensure full path to git\bin is in the Path Environment variable on windows | ||
| // 04-24-2017 JS: I changed this to remove the dependency on sh. Also we should note that | ||
| // you will get error code 128 if you have git installed, but you did not pull this project | ||
| // using git because git will not know where to get the commit count from. This is likely | ||
| // true for Linux too. | ||
| // using git because git will not know where to get the commit count from. | ||
| new ByteArrayOutputStream().withStream { outputStream -> | ||
| exec { | ||
| executable 'git' | ||
|
|
@@ -381,7 +384,7 @@ task(updateBuildNumber) { | |
| // save buildnumber to file | ||
| // we'll be referencing it later | ||
| // Eventually we'll do this, but for now, fetch it every time | ||
| // new File('.buildnumber').write(buildVersion) | ||
| new File('.buildnumber').write(buildVersion) | ||
| } | ||
| } | ||
|
|
||
|
|
@@ -406,7 +409,7 @@ compileJava.dependsOn updateBuildNumber | |
| sageJar.dependsOn cleanSageJar, classes, test | ||
| miniclientJar.dependsOn clean, miniclientClasses, cleanMiniJar | ||
| linuxMiniClientRelease.dependsOn miniclientJar | ||
| sageJar.finalizedBy restoreSageConstants | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why was this line removed?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed (commented out when I was trying to get the commit number code working again after move to ubuntu 22.04) |
||
| //sageJar.finalizedBy restoreSageConstants | ||
|
|
||
| // Eclipse project setup | ||
| eclipse { | ||
|
|
||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are you deleting this file?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry. This must have occurred by mistake during my squashing as their was a conflict. I will add it back in in another commit. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| /* | ||
| * Copyright 2015 The SageTV Authors. All Rights Reserved. | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| */ | ||
| package sage; | ||
|
|
||
| public final class SageConstants | ||
| { | ||
| private SageConstants() | ||
| { | ||
| // Non-instantiable | ||
| } | ||
|
|
||
| public static final int BUILD_VERSION = 1056; | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.