Browse Source

Fix issue with credential caching in publish script due to https git urls

pull/6443/head
Jack 6 years ago
parent
commit
383871090c
4 changed files with 4 additions and 4 deletions
  1. 2
      RELEASE-NOTES.md
  2. 2
      tasks/admin/components/init.js
  3. 2
      tasks/admin/components/update.js
  4. 2
      tasks/admin/distributions/update.js

2
RELEASE-NOTES.md

@ -7,7 +7,7 @@
- **Button** - Add `inverted` and `inverted basic` variations for `primary` and `secondary` buttons **Thanks @hammy2899** [#6242](https://github.com/Semantic-Org/Semantic-UI/issues/6242)
**Theming**
- **Global** - Add `hover` `down` `active` and `focus` variables for `invertedPrimaryColor` and `invertedSecondaryColor`
- **Global** - Add `hover` `down` `active` and `focus` variables for `@invertedPrimaryColor` and `@invertedSecondaryColor`
**Bugs**
- **Dropdown** Fixed bug that could cause dropdown to recursively trigger network requests specifically when using `apiSettings` with a url that returns valid response but with no results when clicking directly on the `dropdown icon`. **Thanks @vpeti** [#5231](https://github.com/Semantic-Org/Semantic-UI/issues/5231) [#5809](https://github.com/Semantic-Org/Semantic-UI/issues/5809)

2
tasks/admin/components/init.js

@ -74,7 +74,7 @@ module.exports = function(callback) {
pullOptions = { args: '-q', cwd: outputDirectory, quiet: true },
resetOptions = { args: '-q --hard', cwd: outputDirectory, quiet: true },
gitURL = 'https://github.com/' + release.org + '/' + repoName + '.git',
gitURL = 'git@github.com:' + release.org + '/' + repoName + '.git',
repoURL = 'https://github.com/' + release.org + '/' + repoName + '/',
localRepoSetup = fs.existsSync(path.join(outputDirectory, '.git'))
;

2
tasks/admin/components/update.js

@ -166,7 +166,7 @@ module.exports = function(callback) {
console.log('Sleeping for 1 second...');
// avoid rate throttling
global.clearTimeout(timer);
timer = global.setTimeout(stepRepo, 1000);
timer = global.setTimeout(stepRepo, 100);
}

2
tasks/admin/distributions/update.js

@ -161,7 +161,7 @@ module.exports = function(callback) {
console.log('Sleeping for 1 second...');
// avoid rate throttling
global.clearTimeout(timer);
timer = global.setTimeout(stepRepo, 500);
timer = global.setTimeout(stepRepo, 100);
}

Loading…
Cancel
Save