Skip to content

Commit

Permalink
Restore zip cron test (#6798)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 authored and schmidt-sebastian committed Oct 29, 2020
1 parent b23a143 commit 19ec4af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ReleaseTooling/Sources/ZipBuilder/LaunchArgs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ struct LaunchArgs {
// Get the project repo directory, and fail if it doesn't exist and we're building Firebase.
if let repoPath = defaults.string(forKey: Key.repoDir.rawValue) {
repoDir = URL(fileURLWithPath: repoPath)
} else if defaults.string(forKey: Key.zipPods.rawValue) != nil {
} else if defaults.string(forKey: Key.zipPods.rawValue) == nil {
LaunchArgs.exitWithUsageAndLog("Missing required key: `\(Key.repoDir)` for the folder " +
"containing the repository from which we're building the zip.")
} else {
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_zip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ OUTPUT_DIR="$REPO/$1"

cd ReleaseTooling
swift run zip-builder -keepBuildArtifacts true -updatePodRepo true \
-templateDir "${REPO}"/ReleaseTooling/Template -localPodspecPath "${REPO}" \
-repoDir "${REPO}" -localPodspecPath "${REPO}" -carthageBuild true \
-outputDir "${OUTPUT_DIR}" -customSpecRepos https://github.com/firebase/SpecsStaging.git

0 comments on commit 19ec4af

Please sign in to comment.