8000 powersync-sqlite-core/RELEASING.md at main · powersync-ja/powersync-sqlite-core · GitHub
[go: up one dir, main page]

Skip to content
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":".cargo","path":".cargo","contentType":"directory"},{"name":".github","path":".github","contentType":"directory"},{"name":"android","path":"android","contentType":"directory"},{"name":"crates","path":"crates","contentType":"directory"},{"name":"dart","path":"dart","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"sqlite-rs-embedded","path":"sqlite-rs-embedded","contentType":"submodule","submoduleUrl":"/powersync-ja/sqlite-rs-embedded/tree/5d35c2883d9889f01dee010223d94570c70039b7","submoduleDisplayName":"sqlite-rs-embedded @ 5d35c28"},{"name":"tool","path":"tool","contentType":"directory"},{"name":"wasm","path":"wasm","contentType":"directory"},{"name":".gitattributes","path":".gitattributes","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".gitmodules","path":".gitmodules","contentType":"file"},{"name":"Cargo.lock","path":"Cargo.lock","contentType":"file"},{"name":"Cargo.toml","path":"Cargo.toml","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"NOTICE","path":"NOTICE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"RELEASING.md","path":"RELEASING.md","contentType":"file"},{"name":"UUID.md","path":"UUID.md","contentType":"file"},{"name":"powersync-sqlite-core.podspec","path":"powersync-sqlite-core.podspec","contentType":"file"},{"name":"rust-toolchain.toml","path":"rust-toolchain.toml","contentType":"file"}],"totalCount":21}},"fileTreeProcessingTime":22.994266999999997,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":684622761,"defaultBranch":"main","name":"powersync-sqlite-core","ownerLogin":"powersync-ja","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-08-29T14:13:58.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/147553714?v=4","public":true,"private":false,"isOrgOwned":true},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"main","listCacheKey":"v0:1749134220.0","canEdit":false,"refType":"branch","currentOid":"8d83323ce1f76c1f92e5435ed2c0776750bc336c"},"path":"RELEASING.md","currentUser":null,"blob":{"rawLines":null,"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/powersync-ja/powersync-sqlite-core/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":"RELEASING.md","displayUrl":"https://github.com/powersync-ja/powersync-sqlite-core/blob/main/RELEASING.md?raw=true","headerInfo":{"blobSize":"1.02 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"e49eda3","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fpowersync-ja%2Fpowersync-sqlite-core%2Fblob%2Fmain%2FRELEASING.md","isCSV":false,"isRichtext":true,"toc":[{"level":1,"text":"Preparing Release","anchor":"preparing-release","htmlText":"Preparing Release"},{"level":1,"text":"Perform Release","anchor":"perform-release","htmlText":"Perform Release"}],"lineInfo":{"truncatedLoc":"46","truncatedSloc":"31"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"Markdown","languageID":222,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/powersync-ja/powersync-sqlite-core/blob/main/RELEASING.md","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/powersync-ja/powersync-sqlite-core/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/powersync-ja/powersync-sqlite-core/raw/refs/heads/main/RELEASING.md","renderImageOrRaw":false,"richText":"\u003carticle class=\"markdown-body entry-content container-lg\" itemprop=\"text\"\u003e\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch1 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003ePreparing Release\u003c/h1\u003e\u003ca id=\"user-content-preparing-release\" class=\"anchor\" aria-label=\"Permalink: Preparing Release\" href=\"#preparing-release\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eBump the version number in these places:\u003c/p\u003e\n\u003col dir=\"auto\"\u003e\n\u003cli\u003eCargo.toml\u003c/li\u003e\n\u003cli\u003epowersync-sqlite-core.podspec.\u003c/li\u003e\n\u003cli\u003eandroid/build.gradle.kts\u003c/li\u003e\n\u003cli\u003eandroid/src/prefab/prefab.json\u003c/li\u003e\n\u003cli\u003etool/build_xcframework.sh - CFBundleVersion and CFBundleShortVersionString.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003ecargo build\u003c/code\u003e to update Cargo.lock\u003c/li\u003e\n\u003c/ol\u003e\n\u003cp dir=\"auto\"\u003eCreate a tag:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"git tag -am v1.2.3 v1.2.3\ngit push --tags\"\u003e\u003cpre\u003egit tag -am v1.2.3 v1.2.3\ngit push --tags\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch1 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003ePerform Release\u003c/h1\u003e\u003ca id=\"user-content-perform-release\" class=\"anchor\" aria-label=\"Permalink: Perform Release\" href=\"#perform-release\"\u003e\u003csvg class=\"octicon octicon-link\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"16\" height=\"16\" aria-hidden=\"true\"\u003e\u003cpath d=\"m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z\"\u003e\u003c/path\u003e\u003c/svg\u003e\u003c/a\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eBuild:\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"gh workflow run release --ref v1.2.3 -f publish=true\"\u003e\u003cpre class=\"notranslate\"\u003e\u003ccode\u003egh workflow run release --ref v1.2.3 -f publish=true\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThe above does the following:\u003c/p\u003e\n\u003col dir=\"auto\"\u003e\n\u003cli\u003eCreate a draft GitHub release.\u003c/li\u003e\n\u003cli\u003eBuild the xcframework for iOS and macOS, and upload to GitHub (attached to the above release).\u003c/li\u003e\n\u003cli\u003eBuild and publish an Android aar to Sonatype staging.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cp dir=\"auto\"\u003eOnce that is done, go to the Maven staging repository, and \"Close\", wait, and \"Release\" the\nrepository:\u003c/p\u003e\n\u003cp dir=\"auto\"\u003e\u003ca href=\"https://s01.oss.sonatype.org/#stagingRepositories\" rel=\"nofollow\"\u003ehttps://s01.oss.sonatype.org/#stagingRepositories\u003c/a\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eDocs: \u003ca href=\"https://central.sonatype.org/publish/release/\" rel=\"nofollow\"\u003ehttps://central.sonatype.org/publish/release/\u003c/a\u003e\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eGo to GitHub Releases on the repository, update the description, then \"Publish Release\".\u003c/p\u003e\n\u003cp dir=\"auto\"\u003ePublish the cocoapod:\u003c/p\u003e\n\u003cdiv class=\"highlight highlight-source-shell notranslate position-relative overflow-auto\" dir=\"auto\" data-snippet-clipboard-copy-content=\"pod trunk push powersync-sqlite-core.podspec\"\u003e\u003cpre\u003epod trunk push powersync-sqlite-core.podspec\u003c/pre\u003e\u003c/div\u003e\n\u003c/article\u003e","renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timed_out":false,"not_analyzed":false,"symbols":[{"name":"Preparing Release","kind":"section_1","ident_start":2,"ident_end":19,"extent_start":0,"extent_end":359,"fully_qualified_name":"Preparing Release","ident_utf16":{"start":{"line_number":0,"utf16_col":2},"end":{"line_number":0,"utf16_col":19}},"extent_utf16":{"start":{"line_number":0,"utf16_col":0},"end":{"line_number":18,"utf16_col":0}}},{"name":"Perform Release","kind":"section_1","ident_start":361,"ident_end":376,"extent_start":359,"extent_end":1046,"fully_qualified_name":"Perform Release","ident_utf16":{"start":{"line_number":18,"utf16_col":2},"end":{"line_number":18,"utf16_col":17}},"extent_utf16":{"start":{"line_number":18,"utf16_col":0},"end":{"line_number":46,"utf16_col":0}}}]}},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/powersync-ja/powersync-sqlite-core/branches":{"post":"s7KuF6W1UrNO-aWEGVewYaBRyfVC4spBtrIoUVYO0WZimBG4C8qujtHwpEQn3HoEOk3Bp5ymqGGnOz5KkS_P0w"},"/repos/preferences":{"post":"eiDUAngtEmO8RPOp-jkfRjjHLTD5DMOS3YyRmtYWZm7iS87Vj8Kngp6E4qe3_tW1qt4B-gDcl6dUIzC4qCZzXg"}}},"title":"powersync-sqlite-core/RELEASING.md at main · powersync-ja/powersync-sqlite-core","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-7d7eb7c71814.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-1ae9fa256942.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true,"github_models_repo_integration":false}}}
0