Skip to content

Commit

Permalink
Update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Ghionoiu committed Jan 22, 2016
1 parent 24661f6 commit b96e5c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/tdl/previous_version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module TDL
PREVIOUS_VERSION = '0.6.0'
PREVIOUS_VERSION = '0.6.1'
end
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

SCRIPT_FOLDER="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
VERSION_FILE="${SCRIPT_FOLDER}/lib/tdl/version.rb"
VERSION_FILE="${SCRIPT_FOLDER}/lib/tdl/previous_version.rb"
TMP_VERSION_FILE="${SCRIPT_FOLDER}/out/versions.txt"


Expand Down
2 changes: 1 addition & 1 deletion tdl-client-ruby.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ major_minor_version = `git --git-dir #{spec_folder}/.git describe --all | cut -d

# Compute next version
previous_version = ComparableVersion.new(TDL::PREVIOUS_VERSION)
new_spec_version = ComparableVersion.new(major_minor_version+'.0')
new_spec_version = ComparableVersion.new(major_minor_version+'.1')
if new_spec_version > previous_version
current_version = new_spec_version
else
Expand Down

0 comments on commit b96e5c9

Please sign in to comment.