Skip to content

Commit

Permalink
Merge pull request #41 from TheGiddyLimit/feature/latest-manifest-link
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGiddyLimit authored Aug 28, 2022
2 parents d93fe2b + 631bb3d commit 5c5161d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plutonium-addon-automation",
"version": "0.1.6",
"version": "0.1.7",
"author": "Giddy",
"type": "module",
"license": "MIT",
Expand Down
4 changes: 3 additions & 1 deletion script/build-task.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ export const buildTask = async () => {
],
readme: "README.md",
license: "MIT",
manifest: `https://github.com/TheGiddyLimit/plutonium-addon-automation/releases/download/${packageJson.version}/module.json`,
// Use "latest" as manifest URL, so that when updating the module the user always gets the latest version
manifest: `https://github.com/TheGiddyLimit/plutonium-addon-automation/releases/latest/download/module.json`,
// Set "download" to this specific version, so that users manually entering the link will receive the version they expect
download: `https://github.com/TheGiddyLimit/plutonium-addon-automation/releases/download/${packageJson.version}/plutonium-addon-automation.zip`,
minimumCoreVersion: "9",
compatibleCoreVersion: "9",
Expand Down

0 comments on commit 5c5161d

Please sign in to comment.