Skip to content

Commit

Permalink
Apply formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sjohnr committed Mar 20, 2024
1 parent ca86b71 commit 73438f0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,12 @@ public void apply(Project project) {
// Gather Artifactory repository configuration
Map<String, String> env = System.getenv();
String artifactoryUrl = env.getOrDefault(ARTIFACTORY_URL_NAME, DEFAULT_ARTIFACTORY_URL);
String snapshotRepository = env.getOrDefault(ARTIFACTORY_SNAPSHOT_REPOSITORY, DEFAULT_ARTIFACTORY_SNAPSHOT_REPOSITORY);
String milestoneRepository = env.getOrDefault(ARTIFACTORY_MILESTONE_REPOSITORY, DEFAULT_ARTIFACTORY_MILESTONE_REPOSITORY);
String releaseRepository = env.getOrDefault(ARTIFACTORY_RELEASE_REPOSITORY, DEFAULT_ARTIFACTORY_RELEASE_REPOSITORY);
String snapshotRepository = env.getOrDefault(ARTIFACTORY_SNAPSHOT_REPOSITORY,
DEFAULT_ARTIFACTORY_SNAPSHOT_REPOSITORY);
String milestoneRepository = env.getOrDefault(ARTIFACTORY_MILESTONE_REPOSITORY,
DEFAULT_ARTIFACTORY_MILESTONE_REPOSITORY);
String releaseRepository = env.getOrDefault(ARTIFACTORY_RELEASE_REPOSITORY,
DEFAULT_ARTIFACTORY_RELEASE_REPOSITORY);
String projectKey = env.get(ARTIFACTORY_PROJECT_KEY);
String buildName = env.get(ARTIFACTORY_BUILD_NAME);
String buildNumber = env.get(ARTIFACTORY_BUILD_NUMBER);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ public void createGitHubRelease() {

if (createRelease) {
var springReleases = new SpringReleases(gitHubAccessToken);
springReleases.createGitHubRelease(repository.owner(), repository.name(), versionPrefix + version, branch, body);
springReleases.createGitHubRelease(repository.owner(), repository.name(), versionPrefix + version, branch,
body);
}
}

Expand Down

0 comments on commit 73438f0

Please sign in to comment.