mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
Fix release asset uploading
The `jspsych` package release previously didn't get a release asset.
This commit is contained in:
parent
b2c171de64
commit
ededae2a70
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -62,8 +62,8 @@ jobs:
|
|||||||
let errorMessage;
|
let errorMessage;
|
||||||
for (const { name, version } of publishedPackages) {
|
for (const { name, version } of publishedPackages) {
|
||||||
const tag = `${name}@${version}`;
|
const tag = `${name}@${version}`;
|
||||||
// Only upload the dist archive for the chore package, plugins, and extensions
|
// Only upload the dist archive for the core package, plugins, and extensions
|
||||||
if (name.startsWith("jspsych@") || name.includes("/plugin-") || name.includes("/extension-")) {
|
if (name === "jspsych" || name.includes("/plugin-") || name.includes("/extension-")) {
|
||||||
console.log(`Uploading dist archive release asset for ${tag}`);
|
console.log(`Uploading dist archive release asset for ${tag}`);
|
||||||
try {
|
try {
|
||||||
// https://docs.github.com/en/rest/reference/repos#get-a-release-by-tag-name
|
// https://docs.github.com/en/rest/reference/repos#get-a-release-by-tag-name
|
||||||
|
Loading…
Reference in New Issue
Block a user