mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-22 09:29:59 +00:00
Changed: Version Bump 0.7.0 (#952)
This commit is contained in:
@@ -7,7 +7,7 @@ variables:
|
|||||||
outputFolder: './_output'
|
outputFolder: './_output'
|
||||||
artifactsFolder: './_artifacts'
|
artifactsFolder: './_artifacts'
|
||||||
testsFolder: './_tests'
|
testsFolder: './_tests'
|
||||||
majorVersion: '0.6.2'
|
majorVersion: '0.7.0'
|
||||||
minorVersion: $[counter('minorVersion', 1076)]
|
minorVersion: $[counter('minorVersion', 1076)]
|
||||||
lidarrVersion: '$(majorVersion).$(minorVersion)'
|
lidarrVersion: '$(majorVersion).$(minorVersion)'
|
||||||
buildName: '$(Build.SourceBranchName).$(lidarrVersion)'
|
buildName: '$(Build.SourceBranchName).$(lidarrVersion)'
|
||||||
@@ -22,6 +22,7 @@ trigger:
|
|||||||
branches:
|
branches:
|
||||||
include:
|
include:
|
||||||
- develop
|
- develop
|
||||||
|
- master
|
||||||
|
|
||||||
pr:
|
pr:
|
||||||
- develop
|
- develop
|
||||||
@@ -202,9 +203,18 @@ stages:
|
|||||||
sentry-cli releases new --finalize -p lidarr -p lidarr-ui -p lidarr-update "${RELEASENAME}"
|
sentry-cli releases new --finalize -p lidarr -p lidarr-ui -p lidarr-update "${RELEASENAME}"
|
||||||
sentry-cli releases -p lidarr-ui files "${RELEASENAME}" upload-sourcemaps _output/UI/ --rewrite
|
sentry-cli releases -p lidarr-ui files "${RELEASENAME}" upload-sourcemaps _output/UI/ --rewrite
|
||||||
sentry-cli releases set-commits --auto "${RELEASENAME}"
|
sentry-cli releases set-commits --auto "${RELEASENAME}"
|
||||||
|
if [[ ${BUILD_SOURCEBRANCHNAME} == "refs/heads/develop" ]]; then
|
||||||
sentry-cli releases deploys "${RELEASENAME}" new -e nightly
|
sentry-cli releases deploys "${RELEASENAME}" new -e nightly
|
||||||
|
else
|
||||||
|
sentry-cli releases deploys "${RELEASENAME}" new -e production
|
||||||
|
fi
|
||||||
displayName: Publish Sentry Source Maps
|
displayName: Publish Sentry Source Maps
|
||||||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/develop'))
|
condition: |
|
||||||
|
or
|
||||||
|
(
|
||||||
|
and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/develop')),
|
||||||
|
and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
|
||||||
|
)
|
||||||
env:
|
env:
|
||||||
SENTRY_AUTH_TOKEN: $(sentryAuthToken)
|
SENTRY_AUTH_TOKEN: $(sentryAuthToken)
|
||||||
SENTRY_ORG: $(sentryOrg)
|
SENTRY_ORG: $(sentryOrg)
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ namespace NzbDrone.Common.Instrumentation
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
dsn = RuntimeInfo.IsProduction
|
dsn = RuntimeInfo.IsProduction
|
||||||
? "https://daa808e34499445fb49a0da1d38bcbbe@sentry.io/209545"
|
? "https://f607fb34f89745f9bfe5ded0a97ab00a@sentry.io/209545"
|
||||||
: "https://28faaa7023384031b29e38d3be74fa11@sentry.io/227247";
|
: "https://28faaa7023384031b29e38d3be74fa11@sentry.io/227247";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -178,7 +178,7 @@ namespace NzbDrone.Core.Configuration
|
|||||||
|
|
||||||
public bool AnalyticsEnabled => GetValueBoolean("AnalyticsEnabled", true, persist: false);
|
public bool AnalyticsEnabled => GetValueBoolean("AnalyticsEnabled", true, persist: false);
|
||||||
|
|
||||||
public string Branch => GetValue("Branch", "develop").ToLowerInvariant();
|
public string Branch => GetValue("Branch", "master").ToLowerInvariant();
|
||||||
|
|
||||||
public string LogLevel => GetValue("LogLevel", "info");
|
public string LogLevel => GetValue("LogLevel", "info");
|
||||||
public string ConsoleLogLevel => GetValue("ConsoleLogLevel", string.Empty, persist: false);
|
public string ConsoleLogLevel => GetValue("ConsoleLogLevel", string.Empty, persist: false);
|
||||||
|
|||||||
Reference in New Issue
Block a user