Skip to content

Commit 105ebb6

Browse files
committed
Fix conditional statement
1 parent dff57d9 commit 105ebb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script/release

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ if $PROGRAM_NAME == __FILE__
483483
attach_assets_to_release res['upload_url'], res['id'], ["#{base_dir}/dist/#{DEB_PKG_NAME}-v#{version}.tar.gz"]
484484
attach_assets_to_release res['upload_url'], res['id'], ["#{base_dir}/dist/#{DEB_PKG_NAME}_#{version}_all.deb"]
485485

486-
if PUBLISH do
486+
if PUBLISH
487487
puts 'Publishing release...'
488488
publish_release res['id']
489489
end
@@ -494,7 +494,7 @@ if $PROGRAM_NAME == __FILE__
494494
puts "Updating #{GH_STABLE_BRANCH} branch..."
495495
update_stable_branch
496496

497-
if !PUBLISH do
497+
if !PUBLISH
498498
puts 'Release left in a "Draft" state. Go to the https://github.com/github/backup-utils/releases and publish when ready.'
499499
end
500500

0 commit comments

Comments
 (0)