Skip to content
This repository was archived by the owner on Jun 29, 2023. It is now read-only.

Commit a498b64

Browse files
Set the deploy build number (#49)
1 parent 16975a7 commit a498b64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/deploy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ Dir.mktmpdir do |tmpdir|
3333
deploy_artifact_path = options.from_files
3434
else
3535
if options.build_number == 'latest'
36-
build_number = artifact_registry.get_latest_build_number(options.project)
36+
options.build_number = artifact_registry.get_latest_build_number(options.project)
3737
end
3838

3939
deploy_artifact_path = artifact_registry.download(
4040
project: options.project,
41-
build_number: build_number,
41+
build_number: options.build_number,
4242
flavor: options.flavor,
4343
name: options.artifact,
4444
pre_apply_hook: options.pre_apply_hook,

0 commit comments

Comments
 (0)