Skip to content

Commit d52f6b1

Browse files
cezarygrabowskicezarygrabowski
andauthored
Keep version in another file (#14)
Co-authored-by: cezarygrabowski <[email protected]>
1 parent 30caef8 commit d52f6b1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Casks/dev-cloud.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
cask "dev-cloud" do
2+
config_file = './local_config.rb'
3+
require config_file if File.file? config_file
4+
VENV_VERSION ||= '.'
25

3-
version :latest
6+
version VENV_VERSION
47
sha256 :no_check
58

69
url "https://github.com/DocPlanner/dev-cloud-releases/releases/download/#{version}/dev-#{version}-osx-x64.zip"

Casks/local_config.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
VENV_VERSION='2.17.1'

0 commit comments

Comments
 (0)