Skip to content

Commit b279188

Browse files
Merge pull request #3624 from jspsych/fix-gulp-update-plugin-versions
Fix gulp update plugin versions
2 parents e5fdebb + 5241a23 commit b279188

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@jspsych/config": patch
3+
---
4+
5+
Fix `updatePluginVersions` task so that plugin versions are automatically updated on the plugin documentation pages.

packages/config/gulp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export const updateUnpkgLinks = () => {
147147
export const updatePluginVersions = () => {
148148
const packageVersions = new Map(getAllPackages().map(({ name, version }) => [name, version]));
149149

150-
return src(["././docs/plugins/*.md"])
150+
return src(["docs/plugins/*.md"])
151151
.pipe(
152152
replace(
153153
/\# (.+?)(?: plugin)?[\s]*?[\n]*Current version: (\d+.\d+.\d+|current-plugin-version)\./gi,

0 commit comments

Comments
 (0)