You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
note "Set the current time on the release notes in the changelog file"
198
+
note "Setting the current time on the release notes in the changelog file ..."
195
199
$do sed -r -i -e "1,/^ -- /s/([A-Za-z-]+ <[a-z0-9.-]+@[a-z0-9.-]+> ).*$/\1$(TZ=UTC date +'%d %b %Y %H:%M:%S %z')/" changelog
196
-
note"$(grep -m1 "^ -- " changelog)"
200
+
say"$(grep -m1 "^ -- " changelog)"
197
201
198
-
note "Verifying that version $VER doesn't already exist..."
202
+
note "Verifying that version $VER doesn't already exist..."
199
203
$do svn info $REPO/tags/$VER2>&1|$do egrep -q "(Not a valid URL|URL .* non-existent)"|| die "The tag '$VER' already exists (or there was an error testing for it)."
200
-
note" Ok"
204
+
say" Ok"
201
205
202
-
note "Committing the changelog..."
206
+
note "Committing the changelog..."
203
207
$do svn commit changelog -m "Changelog entry for $VER"
204
208
205
-
note "Verifying there's no uncommitted changes..."
209
+
note "Verifying there's no uncommitted changes..."
206
210
$do svn st | grep "^[AMGRD] "&& die "There seems to be uncommitted changes in this working copy"
207
211
208
-
note "\nUpdating the version info in $VERFILE and making sure'\$Rev\$' is Ok"
212
+
note "Updating the version info in $VERFILE and making sure'\$Rev\$' is Ok"
209
213
$do sed -i -r -e "/^__version__/s/\"[.0-9]+(dev[0-9]+)?\"/\"$VER\"/" \
210
214
-e "/^__rev__/s/\".*\"/\"\$Rev:\$\"/" \
211
215
$VERFILE
212
216
213
-
note "\nUpdating the deployment settings in settings.py"
217
+
note "Updating the deployment settings in settings.py"
0 commit comments