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

feat: disabling snap publish #69

Merged
merged 2 commits into from
Jun 8, 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
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

jobs:
goreleaser:
runs-on: macos-13
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -20,11 +20,11 @@ jobs:
run: echo "SDK=$(xcrun --sdk macosx --show-sdk-path)" >> $GITHUB_ENV
- name: Install Nix
uses: cachix/install-nix-action@v22
- name: Setup Docker
uses: douglascamata/setup-docker-macos-action@v1-alpha
# - name: Setup Docker
# uses: douglascamata/setup-docker-macos-action@v1-alpha
- name: Release
run: |
task release
sudo task release
shell: nix develop --command bash -e {0}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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