Building beta releases #104
Taitava
announced in
Notes (internal)
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is partly the same as #47, but there's less stuff to do, and some things are done differently.
Heading numbers are the same as in #47, although some headings are not present because those sections are not needed.
Deciding a beta version number
If e.g. version
0.8.0
is being developed, and a beta version is wanted to be released before the actual normal release, the first beta version number will be0.8.0-beta.1
. If a second beta is needed, the version number is0.8.0-beta.2
(and so on). (Beta versions0.7.0-beta1
,0.7.0-beta2
and0.7.0-beta3
did not use a dot.
in betweenbeta
and the beta number, but in later beta versions, a dot.
should be used).3. Update version numbers in the following files
main.ts
:ShellCommandsPlugin.SettingsVersion
: Only need to change if the new version changes settings structure. use a normal version here, no beta.x postfix! (Beta versions might contain the future coming version's settings changes, but beta versions themselves do not have "own" settings versions).manifest-beta.json
: Field nameversion
. (Also changeminAppVersion
field if needed). If the file does not exist, copymanifest.json
to create it. Note that the file must be in themain
branch - not in a beta branch (unlike theSettingsVersion
change above, which should be done in the beta branch). The version should contain the -beta.1 part, e.g. 0.22.0-beta.14. Create a release in GitHub
main
! (Edit: 2024-01-31: There is no more a branch selector, if the tag name is the same as the branch name. You must select the branch before typing the tag name).This is not a normal version. It's a beta test version and can be unstable. [See these instructions, if you are willing to participate in beta testing](https://github.com/Taitava/obsidian-shellcommands/discussions/98). Do not use any important vault for testing, because you are not able to convert your data.json settings file back to an earlier version!
main.js
andstyles.css
as binary attachments. Do not uploadmanifest.json
ormanifest-beta.json
- BRAT downloadsmanifest-beta.json
file automatically from the repository's root.5. Test upgrading
Beta Was this translation helpful? Give feedback.
All reactions