Skip to content

Commit 603135a

Browse files
authored
chore(migration): allow git tags to be force created when running the migration script (googleapis#11219)
1 parent b658bba commit 603135a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/split_repo_migration/single-library.post-process.common-files.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ LRT_VERSION="${RPM_VERSION//\"/}"
192192
# any of the gapic_version.py files will do: they all match
193193
LRT_VERSION_FILE="$(find ${MONOREPO_PATH_PACKAGE} -name "gapic_version.py" | head -n 1)"
194194
LRT_SHA=$(git log --format=oneline ${LRT_VERSION_FILE} | grep release | head -n 1 | awk '{ print $1 }')
195-
$GIT tag ${MONOREPO_PACKAGE_NAME}-v${LRT_VERSION} ${LRT_SHA}
195+
$GIT tag -f ${MONOREPO_PACKAGE_NAME}-v${LRT_VERSION} ${LRT_SHA}
196196
$GIT push --tags
197197
## END migrate release tags
198198

0 commit comments

Comments
 (0)