File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22#
3- # run as part of CI
3+ # run as part of CI, or as part of the release pipeline with --release
44#
5+ RELEASE=false
6+ if [[ " ${1:- } " == " --release" ]] ; then
7+ RELEASE=true
8+ shift
9+ fi
10+
511if [[ $# -lt 2 ]] ; then
6- echo " usage: $( basename $0 ) <output_dir> <platform>"
12+ echo " usage: $( basename $0 ) [--release] <output_dir> <platform>"
713 exit 1
814fi
915
@@ -18,7 +24,10 @@ set -x
1824
1925bundle config set without development
2026bundle install --local || bundle install
21- bundle exec rake set-version-to-timestamp
27+
28+ if [[ " ${RELEASE} " == " false" ]] ; then
29+ bundle exec rake set-version-to-timestamp
30+ fi
2231
2332if [[ " ${BUILD_NATIVE_GEM} " == " ruby" ]] ; then
2433 bundle exec ruby ext/sqlite3/extconf.rb --download-dependencies
You can’t perform that action at this time.
0 commit comments