Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 597 Bytes

publish-snap.md

File metadata and controls

23 lines (19 loc) · 597 Bytes

How I publish to snap store

New way

Github action

To get token for snapstore:

  1. docker compose build
  2. docker compose up
  3. docker compose exec web snapcraft export-login creds
  4. update ENV variable in Github with creds
  5. github action now can publish

Old way

  1. docker-compose build
  2. Download snap from Github
  3. docker-compose up
  4. docker-compose exec web snapcraft login
  5. docker-compose exec web snapcraft upload --release=stable Stretchly_1.2.0_amd64.snap
  6. Or without --release and manage on website

TODO

  • script to do all steps?
  • get rich?