Skip to content

Commit 604167c

Browse files
authored
[Infra] Fetch tags first when running firebase-releaser (#13411)
1 parent a5c253d commit 604167c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ReleaseTooling/Sources/FirebaseReleaser/main.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ struct FirebaseReleaser: ParsableCommand {
7474

7575
Shell.executeCommand("git checkout \(baseBranch)", workingDir: gitRoot)
7676
Shell.executeCommand("git pull origin \(baseBranch)", workingDir: gitRoot)
77+
Shell.executeCommand("git fetch origin --tags --force", workingDir: gitRoot)
7778

7879
if initBranch {
7980
let branch = InitializeRelease.setupRepo(gitRoot: gitRoot)

0 commit comments

Comments
 (0)