Skynet Labs
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Help
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# Skynet SDK Publishing ###### tags: `SDK` Instructions for publishing new versions of the SDKs. ## Notes ### Expectations 1. New **major versions** are released for breaking changes. 2. **New tags** for the version are pushed to GitHub (double check on each repo's *tags* page). ## Release Checklist 1. [ ] Publish and check tags on GitHub. 2. [ ] Update docs. 3. [ ] Update skynet-webportal SDK examples, if necessary. ## skynet-js **Who's responsible:** Karol / Marcin 1. Test: 1. Run test-skapp MySky tests 2. Try test-skapp large file uploads 2. Update changelog 3. Update version in package.json 4. Commit and set version tag in git 5. `npm login` (if needed) 6. `npm publish` 7. Update `skynet-webportal` ### Publishing to the beta stream This is mostly the same as above, except: 1. Make sure the version ends in `-beta`. 2. Publish with `npm publish --tag beta`. ## nodejs **Who's responsible:** PJ / Marcin 1. Update changelog 2. Update version in package.json 3. Set version tag in git) 4. `npm login` 5. `npm publish` ## python **Who's responsible:** PJ / Marcin 0. `rm -R dist/` if it exists. 1. Update changelog 2. Update version in setup.py 3. Commit and set version tag in git 4. `pip install twine` 5. `python setup.py sdist bdist_wheel` 6. Double-check contents of distribution packages: `tar tzf dist/siaskynet-<version>.tar.gz` 7. `twine check dist/*` 8. `twine upload dist/*` (use username `__token__` and the API token as the password) Detailed instructions [here](https://realpython.com/pypi-publish-python-package/). ## go **Who's responsible:** Anyone 1. Update changelog 2. If changing major version, update `go.mod` 3. Set version tag in git 4. Raise and merge PR 5. Update skynet-cli to use the new version if necessary. ## skynet-cli **Who's responsible:** Anyone 1. Update to use newest go-skynet: `go get -u github.com/NebulousLabs/go-skynet/<version>` 2. Update docs: `make doc` 3. Update changelog 4. Update version variable in `skynet/main.go` 5. Set version tag in git 6. Raise and merge PR 7. Run Docker. Run `cd ./release-scripts` and `./build-in-docker.sh <branch> <version>` 8. Add generated release binaries and SHA256SUMS file to GitHub as a new release. 9. Update `Formula/skynet-cli.rb` with the new version and SHA hash. 1. Download source code `.tar.gz`. 2. Run `openssl sha256 < ./skynet-cli-<version>.tar.gz` 3. Fill this value in the `sha256` field. ## skynet-docs **Who's responsible:** Anyone The SDK docs support **multiple versions**. Each new major version has its own separately-viewable and linkable documentation. The latest major version should be accessible at either https://nebulouslabs.github.io/skynet-docs/ or `https://nebulouslabs.github.io/skynet-docs/<latest version>`. Older major versions should still be accessible at `https://nebulouslabs.github.io/skynet-docs/<old version>`. To achieve this, we use subfolders within the `source/` directory named after each major version, e.g. `source/v2`. These subfolders have their own `index.html` and `includes/` directories. Edits should be done after reading the instructions below. The `index.html` of each version should point to all other versions. People reading old docs should be able to tell that there are newer docs available. ### Updating the current version 1. Perform edits on `source/includes/` and `source/index.html`. 2. Copy these files into `source/<latest version>/`. 3. Raise a PR. 4. Once merged, a team member will run `deploy.sh`. ### Adding a new major version 0. Update the `VERSION` variable in `pre-commit` in the root repo directory. 1. Create a folder for the new version: `source/<latest version>`. 2. Make the desired changes in `source/includes` and `source/index.html.md`. 3. Overwrite `source/includes/_updating.md`. This should call out any breaking changes that would force skapp developers to update their code. 4. Copy the files into the new version folder created in step 1. Running `pre-commit` does this for you. 5. Update every `index.html` in the repo to point to the new version. Make sure the sidebars in `index.html` indicate that this is an old version. 6. Follow steps 3-4 in the "Updating the current version" section above. ## See Also - [Skynet Docs](https://siasky.net/docs/#introduction) - [Status of Skynet SDKs](/BFPWYyDfT6yalz0o_gipyw?both) - [Skynet SDK Testing](/dHSts01AR4WnnOmvZOcRxw)

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully