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

fix: trying the snap again #64

Merged
merged 1 commit into from
Jun 2, 2024
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
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,8 @@ jobs:
run: echo "SDK=$(xcrun --sdk macosx --show-sdk-path)" >> $GITHUB_ENV
- name: Install Nix
uses: cachix/install-nix-action@v22
# - name: Setup Docker
# run: |
# brew install docker
# brew install colima
# colima start
- name: Setup Docker
uses: douglascamata/setup-docker-macos-action@v1-alpha
- name: Release
run: |
task release
Expand Down
68 changes: 34 additions & 34 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,40 +137,40 @@ release:
extra_files:
- glob: ./**/*.snap

# snapcrafts:
# - id: armaria-snap
# builds:
# - armaria-linux-amd64
# name_template: "armaria_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
# name: armaria
# title: Armaria
# publish: true
# summary: Armaria is a fast, open, and local first bookmarks manager.
# description: Armaria is a FOSS bookmarks manager that keeps all of your local bookmarks in a SQLite database. You can use many different frontends to manage your bookmarks including browsers, and back them up and/or sync them however you see fit.
# confinement: strict
# license: MIT
# base: core18
# extra_files:
# - source: ./art/cabinet-light-128.png
# destination: meta/gui/icon.png
# mode: 0755
# apps:
# armaria:
# command: armaria
# plugs: ["dot-mozilla-native-messaging-hosts", "dot-config-google-chrome-native-messaging-hosts", "dot-config-chromium-native-messaging-hosts"]
# plugs:
# dot-mozilla-native-messaging-hosts:
# interface: personal-files
# write:
# - $HOME/.mozilla/native-messaging-hosts
# dot-config-google-chrome-native-messaging-hosts:
# interface: personal-files
# write:
# - $HOME/.config/google-chrome/NativeMessagingHosts
# dot-config-chromium-native-messaging-hosts:
# interface: personal-files
# write:
# - $HOME/.config/chromium/NativeMessagingHosts
snapcrafts:
- id: armaria-snap
builds:
- armaria-linux-amd64
name_template: "armaria_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
name: armaria
title: Armaria
publish: true
summary: Armaria is a fast, open, and local first bookmarks manager.
description: Armaria is a FOSS bookmarks manager that keeps all of your local bookmarks in a SQLite database. You can use many different frontends to manage your bookmarks including browsers, and back them up and/or sync them however you see fit.
confinement: strict
license: MIT
base: core18
extra_files:
- source: ./art/cabinet-light-128.png
destination: meta/gui/icon.png
mode: 0755
apps:
armaria:
command: armaria
plugs: ["dot-mozilla-native-messaging-hosts", "dot-config-google-chrome-native-messaging-hosts", "dot-config-chromium-native-messaging-hosts"]
plugs:
dot-mozilla-native-messaging-hosts:
interface: personal-files
write:
- $HOME/.mozilla/native-messaging-hosts
dot-config-google-chrome-native-messaging-hosts:
interface: personal-files
write:
- $HOME/.config/google-chrome/NativeMessagingHosts
dot-config-chromium-native-messaging-hosts:
interface: personal-files
write:
- $HOME/.config/chromium/NativeMessagingHosts

winget:
- name: Armaria
Expand Down