Skip to content

Commit 5c5161d

Browse files
Merge pull request #41 from TheGiddyLimit/feature/latest-manifest-link
2 parents d93fe2b + 631bb3d commit 5c5161d

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plutonium-addon-automation",
3-
"version": "0.1.6",
3+
"version": "0.1.7",
44
"author": "Giddy",
55
"type": "module",
66
"license": "MIT",

script/build-task.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ export const buildTask = async () => {
3535
],
3636
readme: "README.md",
3737
license: "MIT",
38-
manifest: `https://github.com/TheGiddyLimit/plutonium-addon-automation/releases/download/${packageJson.version}/module.json`,
38+
// Use "latest" as manifest URL, so that when updating the module the user always gets the latest version
39+
manifest: `https://github.com/TheGiddyLimit/plutonium-addon-automation/releases/latest/download/module.json`,
40+
// Set "download" to this specific version, so that users manually entering the link will receive the version they expect
3941
download: `https://github.com/TheGiddyLimit/plutonium-addon-automation/releases/download/${packageJson.version}/plutonium-addon-automation.zip`,
4042
minimumCoreVersion: "9",
4143
compatibleCoreVersion: "9",

0 commit comments

Comments
 (0)