Comments (7)
Is there any workaround?
I've been publishing plug-in updates manually. Process (change 2.0.0 to correct version number):
- Update version in package.json (or manifest.json if you have version number there)
- Build plugin, commit all changes (as usual before publishing)
- Add tag:
git add tag 2.0.0 -m "v2.0.0"
- Push tag to GitHub:
git push origin 2.0.0
- Go to releases (
https://github.com/{username}/{repo}/releases
), create new release:- Select tag "
2.0.0
" - Title: "
v2.0.0
" - Description: "
Publish 2.0.0 release :rocket:
" - Drag your
plugin-name.sketchplugin
to "Attach binaries" field. I'm using Finder and Safari, which automatically zip it before uploading. - Publish release.
- Select tag "
- Open
.appcast.xml
, copy first entry, change version number. - Commit changes to
.appcast.xml
, push it to GitHub repo.
from skpm.
FTR, I’m seeing this too on Catalina, so definitely not a Big Sur issue.
I initially thought it might be an issue with Homebrew’s git version, but uninstalling it and using Apple’s default throws the same error 🤔
from skpm.
same here. Is there any workaround?
from skpm.
I think this problem is caused by a change in the output of npm version
.
Here is a part that call npm version
command, and assign trimmed stdout into tag
variable. There are lots of code that replacing 'v' from the tag
variable. These codes tell us that output of npm version
was like 'vX.Y.Z'.
Unfortunately, I think the problem is caused by the removal of the 'v' character from the npm version
output, so it no longer matches the name of the git tag.
from skpm.
looks like you're right, we should now add it if it's not there 🤔 (so 1.1.8
becomes v1.1.8
and matches the created tag). Want to send a PR?
from skpm.
@mathieudutour
I'm not very experienced with Node.js, so I need to learn how to debug. Could you tell me how to do that?
from skpm.
@macintoshhelper
I figured out how to develop skpm now. I will send a PR soon.
from skpm.
Related Issues (20)
- skpm publish does not add or update lastUpdated flag in plugin directory HOT 5
- skpm-build --output: absolute paths are not supported
- Typescript bug: if I try use typescript file with .ts extension as a manifest script, build incorrectly replace the script name HOT 1
- Confused about skpm versions HOT 1
- Webpack 5
- skpm-build --watch doesn't update Sketch plugin folder HOT 2
- ssri vulnerability HOT 5
- Sass-loader not compatible with webpack version
- glob-parent vulnerability HOT 1
- Sketch crushes after trying to load a plugin HOT 1
- TextAlignment mistake on apple silicon HOT 1
- Cannot build project: TypeError: console.log.bind is not a function
- skpm breaking my plugin HOT 2
- null is not an object (evaluating 'NSApplication.sharedApplication().orderedDocuments().firstObject().showMessage') HOT 1
- How to notify in sketch after publishing?
- Builder is crashing because dependencies are old HOT 6
- [CVE-2023-0842] `xml2js` has vulnerability, needs updated
- Adding webbrowser api libraries to skpm puging
- one error with `babel-loader`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skpm.