Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove snapcraft #1098

Merged
merged 1 commit into from
Aug 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,35 +79,3 @@ release:

# brews:
# We do not use the brew config, which is for taps, not core forumulas.

snapcrafts:
-
name: exercism
license: MIT
# Whether to publish the snap to the snapcraft store.
# Remember you need to `snapcraft login` first.
# Defaults to false.
# publish: true
summary: Command-line client for https://exercism.org
# https://snapcraft.io/docs/reference/confinement
confinement: strict
# A snap of type base to be used as the execution environment for this snap.
base: core18
# https://snapcraft.io/docs/reference/channels
grade: stable
description: Exercism is an online platform designed to help you improve your coding skills through practice and mentorship. Exercism provides you with thousands of exercises spread across numerous language tracks. Each one is a fun and interesting challenge designed to teach you a little more about the features of a language.
name_template: >-
{{- .ProjectName }}-
{{- .Version }}-
{{- .Os }}-
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{- .Arch }}{{ end }}
{{- if .Arm }}v{{- .Arm }}{{ end }}
apps:
exercism:
plugs: ["home", "network", "removable-media","personal-files"]
plugs:
personal-files:
write:
- $HOME/
7 changes: 0 additions & 7 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ release process.
## Requirements

1. [Install GoReleaser](https://goreleaser.com/install/)
1. [Install snapcraft](https://snapcraft.io/docs/snapcraft-overview)
1. [Setup GitHub token](https://goreleaser.com/scm/github/)
1. Have a gpg key installed on your machine - it is [used for signing the artifacts](https://goreleaser.com/customization/sign/)

Expand Down Expand Up @@ -42,12 +41,6 @@ git push origin v3.0.16
# Build and release
goreleaser --clean

# You must be logged into snapcraft to publish a new snap
snapcraft login

# Push to snapcraft
for f in `ls dist/*.snap`; do snapcraft push --release=stable $f; done

# [TODO] Push to homebrew
```

Expand Down