{"id":18820638,"url":"https://github.com/valentinfunk/scriptfodder-publish","last_synced_at":"2026-01-17T16:30:13.821Z","repository":{"id":76051399,"uuid":"86590735","full_name":"ValentinFunk/scriptfodder-publish","owner":"ValentinFunk","description":null,"archived":false,"fork":false,"pushed_at":"2017-04-28T05:57:16.000Z","size":78,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-30T03:27:24.886Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ValentinFunk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-29T14:14:53.000Z","updated_at":"2017-05-23T00:11:31.000Z","dependencies_parsed_at":"2023-06-10T20:30:22.003Z","dependency_job_id":null,"html_url":"https://github.com/ValentinFunk/scriptfodder-publish","commit_stats":null,"previous_names":["valentinfunk/scriptfodder-publish","kamshak/scriptfodder-publish"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinFunk%2Fscriptfodder-publish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinFunk%2Fscriptfodder-publish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinFunk%2Fscriptfodder-publish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ValentinFunk%2Fscriptfodder-publish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ValentinFunk","download_url":"https://codeload.github.com/ValentinFunk/scriptfodder-publish/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239758832,"owners_count":19692034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T00:29:21.306Z","updated_at":"2025-02-20T00:45:32.634Z","avatar_url":"https://github.com/ValentinFunk.png","language":"JavaScript","readme":"# scriptfodder-publish\n\n[![Build Status](https://travis-ci.org/Kamshak/scriptfodder-publish.svg?branch=master)](https://travis-ci.org/Kamshak/scriptfodder-publish)\n[![npm version](https://badge.fury.io/js/scriptfodder-publish.svg)](https://badge.fury.io/js/scriptfodder-publish)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\nPackage to publish new versions of addons to ScriptFodder\n\n## Usage \n\nUpload zip of current folder as new version, using CHANGELOG as changelog:\n\n``scriptfodder-publish --script-id=123 --api-key=asdfasdf --version-name=2.0.0 --changes=CHANGELOG``\n\nUpload zip of dist folder as new version, using CHANGELOG as changelog:\n\n``scriptfodder-publish --script-id=123 --api-key=asdfasdf --version-name=2.0.0 --changes=CHANGELOG --relative-to=dist``\n\n**Full CLI usage**:\n```\nscriptfodder-publish\nUploads a new version to an existing scriptfodder script.\n\nUsage:\n  scriptfodder-publish [glob]\n\n  glob is a pattern that is zipped and uploaded. Default is ** which\n  uploads everything in the current working directory.\nOptions:\n  -h --help               Show this screen.\n  -v --version            Show version.\n  --api-key=\u003cString\u003e      Scriptfodder API Key\n  --script-id=\u003cNumber\u003e    Scriptfodder Script ID\n  --version-name=\u003cString\u003e Name of the new version\n  --changes-file=\u003cString\u003e Path of the file containing the changelog\n  --relative-to           Add files to zip relative to this folder.\n                          e.g. scriptfodder-publish --relative-to=dist\n                          will add all files in dist under / in the zip archive    \n```\n\n**Environment variables**\n\nApi Key and Script Id can be configured via environment variables as well:\n- SF_APIKEY\n- SF_SCRIPTID\n\n**.gmodignore**\n\nTo prevent certain files from being included in the zip create a .gmodignore file in the folder that is zipped up.\nEach line is a glob pattern (you can use wildcards).\nExample:\n```\npackage.json\n**/*.dll\n```\n\n## License\nThe MIT License\n```\nCopyright (c) 2017 Valentin Funk\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalentinfunk%2Fscriptfodder-publish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalentinfunk%2Fscriptfodder-publish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalentinfunk%2Fscriptfodder-publish/lists"}