You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Safari: Automate setting the current version in manifest.json #5250
It would be slightly cleaner to do the version setting of distribution/manifest.json in the archived build (using Xcode run script) as it wouldn't cause a dirty Git tree (since the source file would not be modified).
I forget that that file isn't built. Hopefully I'll be able to use Parcel soon enough for that to stop being a problem. In the meanwhile we can restore CopyWebpackPlugin to move those files. I think it's more difficult to change the version in the archived extension
Activity
fregante commentedon Dec 28, 2021
Suggested solution: a
prepare:safariscript that:This can be a macOS-only sh file in the build folder.
Thoughts?
Edit: And/or the script suggested by Sindre in my PR
sindresorhus commentedon Dec 28, 2021
Sounds good.
It would be slightly cleaner to do the version setting of
distribution/manifest.jsonin the archived build (using Xcode run script) as it wouldn't cause a dirty Git tree (since the source file would not be modified).sindresorhus commentedon Dec 28, 2021
3.should alsonpm install.fregante commentedon Dec 29, 2021
I forget that that file isn't built. Hopefully I'll be able to use Parcel soon enough for that to stop being a problem. In the meanwhile we can restore CopyWebpackPlugin to move those files. I think it's more difficult to change the version in the archived extension
sindresorhus commentedon Dec 29, 2021
The path would be something like this in a run script: