Repository navigation
Move static files out of distribution + add prepare script for Safari - #5491
Conversation
| MARKETING_VERSION = 22.2.13 | ||
| CURRENT_PROJECT_VERSION = 18 | ||
| MARKETING_VERSION = 0.0.0 | ||
| CURRENT_PROJECT_VERSION = 1 |
There was a problem hiding this comment.
These are placeholders just for Xcode (for new collaborators) and are not actually enough for the script to run. You'll have to copy them to your LocalOverrides file for the first time.
| echo You’re ahead of the latest tag. Run: | ||
| echo git checkout "$TAG" | ||
| exit 1 | ||
| fi |
There was a problem hiding this comment.
This is to ensure we don't get mismatched releases (e.g. "it's 22.3.3 but there are 3 more bugfixes")
If you need to make small changes, I think you'll be able to:
- check out the tag
- make the changes
- run this script
- then commit them on top of the latest commit
| @@ -12,6 +12,7 @@ | |||
| "lint:js": "xo", | |||
| "pack:safari": "xcodebuild -project 'safari/Refined GitHub.xcodeproj' -scheme 'Refined GitHub (macOS)'", | |||
| "start:safari": "open 'safari/build/Release/Refined GitHub.app'", | |||
There was a problem hiding this comment.
This command is also broken since the iOS PR probably, we should drop it if there's no fix
| "start:safari": "open 'safari/build/Release/Refined GitHub.app'", |
There was a problem hiding this comment.
Yeah, it's better to just build and run in Xcode.
There was a problem hiding this comment.
The point is that I try to avoid opening Xcode at all because I shouldn't have to deal with it. That's why there's a pack:safari script as well
… I can't rely on ESLint for formatting anymore
Co-authored-by: Federico Brigante <[email protected]>
|
I tested this with two other extensions and it works flawlessly. I'll tag a new release today so @sindresorhus please try it soon. The other change I requested can come later as it's just a DX thing for local testing |
@sindresorhus hopefully this means we'll see Safari updates more often 🙂