Skip to content

Commit

Permalink
temporarily disable reference to main branch for internal build test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sichan Yoo committed Oct 16, 2024
1 parent 3d67e22 commit cc056bc
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,16 @@ struct PrepareRelease {
try FileManager.default.changeWorkingDirectory(repoPath)

let previousVersion = try getPreviousVersion()
guard try repoHasChanges(previousVersion) else {
/// If repo has no changes, create an empty release-manifest.json file.
/// Empty manifest file makes GitHubReleasePublisher be no-op.
/// The manifest file is required regardless of whether there should
/// be a release or not.
try createEmptyReleaseManifest()
/// Return without creating new commit or tag in local repos.
/// This makes GitPublisher be no-op.
return
}
// guard try repoHasChanges(previousVersion) else {
// /// If repo has no changes, create an empty release-manifest.json file.
// /// Empty manifest file makes GitHubReleasePublisher be no-op.
// /// The manifest file is required regardless of whether there should
// /// be a release or not.
// try createEmptyReleaseManifest()
// /// Return without creating new commit or tag in local repos.
// /// This makes GitPublisher be no-op.
// return
// }
let newVersion = try createNewVersion(previousVersion)

try stageFiles()
Expand Down

0 comments on commit cc056bc

Please sign in to comment.