Skip to content

Commit 77beb88

Browse files
committed
test
1 parent 65aad44 commit 77beb88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/scripts/release-tf-module.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,16 +153,16 @@ if [[ "$module_publish" == "yes" ]]; then
153153
force_opt=$( [[ "$force" == "yes" ]] && echo "--republish" || echo "" )
154154
cloudsmith push terraform \
155155
elastio/public \
156-
"$force_opt" "$package_file"
156+
$force_opt "$package_file"
157157
else
158158
echo -e "\nSkipping publish"
159159
fi
160160

161161
if [[ "$tag_push" == "yes" ]]; then
162162
echo -e "\nTagging $module_name-$module_version"
163163
force_opt=$( [[ "$force" == "yes" ]] && echo "--force" || echo "" )
164-
git tag -a "$force_opt" "$module_name-$module_version" -m "Release $module_name $module_version"
165-
git push origin "$force_opt" "$module_name-$module_version"
164+
git tag -a $force_opt "$module_name-$module_version" -m "Release $module_name $module_version"
165+
git push origin $force_opt "$module_name-$module_version"
166166
else
167167
echo -e "\nSkipping tag push"
168168
fi

0 commit comments

Comments
 (0)