mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-01 12:08:01 +00:00
Changed: Version Bump 0.7.0 (#952)
This commit is contained in:
parent
1b72d9b60f
commit
31cb5fe523
3 changed files with 14 additions and 4 deletions
|
@ -7,7 +7,7 @@ variables:
|
|||
outputFolder: './_output'
|
||||
artifactsFolder: './_artifacts'
|
||||
testsFolder: './_tests'
|
||||
majorVersion: '0.6.2'
|
||||
majorVersion: '0.7.0'
|
||||
minorVersion: $[counter('minorVersion', 1076)]
|
||||
lidarrVersion: '$(majorVersion).$(minorVersion)'
|
||||
buildName: '$(Build.SourceBranchName).$(lidarrVersion)'
|
||||
|
@ -22,6 +22,7 @@ trigger:
|
|||
branches:
|
||||
include:
|
||||
- develop
|
||||
- master
|
||||
|
||||
pr:
|
||||
- develop
|
||||
|
@ -202,9 +203,18 @@ stages:
|
|||
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 set-commits --auto "${RELEASENAME}"
|
||||
if [[ ${BUILD_SOURCEBRANCHNAME} == "refs/heads/develop" ]]; then
|
||||
sentry-cli releases deploys "${RELEASENAME}" new -e nightly
|
||||
else
|
||||
sentry-cli releases deploys "${RELEASENAME}" new -e production
|
||||
fi
|
||||
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:
|
||||
SENTRY_AUTH_TOKEN: $(sentryAuthToken)
|
||||
SENTRY_ORG: $(sentryOrg)
|
||||
|
|
|
@ -73,7 +73,7 @@ private static void RegisterSentry(bool updateClient)
|
|||
else
|
||||
{
|
||||
dsn = RuntimeInfo.IsProduction
|
||||
? "https://daa808e34499445fb49a0da1d38bcbbe@sentry.io/209545"
|
||||
? "https://f607fb34f89745f9bfe5ded0a97ab00a@sentry.io/209545"
|
||||
: "https://28faaa7023384031b29e38d3be74fa11@sentry.io/227247";
|
||||
}
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@ public AuthenticationType AuthenticationMethod
|
|||
|
||||
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 ConsoleLogLevel => GetValue("ConsoleLogLevel", string.Empty, persist: false);
|
||||
|
|
Loading…
Reference in a new issue