Skip to content

Commit 005e5a5

Browse files
committed
Build: Work with 1.x-stable branch for build
1 parent 7fcf44a commit 005e5a5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build/release.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var releaseVersion,
1919
pkg,
2020

2121
repoURL = "git@github.com:jquery/jquery-migrate.git",
22-
branch = "master",
22+
branch = "1.x-stable",
2323

2424
// Windows needs the .cmd version but will find the non-.cmd
2525
// On Windows, also ensure the HOME environment variable is set
@@ -180,7 +180,7 @@ function publishToNPM( next ) {
180180

181181
function setNextVersion( next ) {
182182
updateSourceVersion( nextVersion );
183-
updatePackageVersion( nextVersion, "master" );
183+
updatePackageVersion( nextVersion, branch );
184184
git( [ "commit", "-a", "-m", "Updating the source version to " + nextVersion ], next );
185185
}
186186

@@ -242,7 +242,7 @@ function updateReadmeVersion( ver ) {
242242
}
243243

244244
function setBlobVersion( s, v ) {
245-
return s.replace( /\/blob\/(?:(\d+\.\d+[^\/]+)|master)/, "/blob/" + v );
245+
return s.replace( /\/blob\/[^\/]+/, "/blob/" + v );
246246
}
247247

248248
function writeJsonSync( fname, json ) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"homepage": "https://github.com/jquery/jquery-migrate",
88
"author": {
99
"name": "jQuery Foundation and other contributors",
10-
"url": "https://github.com/jquery/jquery-migrate/blob/master/AUTHORS.txt"
10+
"url": "https://github.com/jquery/jquery-migrate/blob/1.x-stable/AUTHORS.txt"
1111
},
1212
"repository": {
1313
"type": "git",

0 commit comments

Comments
 (0)