Skip to content
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
41 changes: 0 additions & 41 deletions .github/workflows/release-snapcraft.yml

This file was deleted.

6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
PROJECT_NAME = ignite
DATE := $(shell date '+%Y-%m-%dT%H:%M:%S')
HEAD = $(shell git rev-parse HEAD)
LD_FLAGS =
LD_FLAGS =
BUILD_FLAGS = -mod=readonly -ldflags='$(LD_FLAGS)'
BUILD_FOLDER = ./dist

Expand All @@ -20,10 +20,6 @@ build:
@-mkdir -p $(BUILD_FOLDER) 2> /dev/null
@go build $(BUILD_FLAGS) -o $(BUILD_FOLDER) ./...

## prepare snapcraft config for release
snapcraft:
@sed -i 's/{{version}}/'$(version)'/' packaging/snap/snapcraft.yaml

## mocks: generate mocks
mocks:
@echo Generating mocks
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Informational

From this version on, Snapcraft support has been removed. Please migrate to [Homebrew](https://brew.sh/) for a better experience. Homebrew works for both macOS and GNU/Linux.

## [`v29.4.1`](https://github.com/ignite/cli/releases/tag/v29.4.1)

### Changes
Expand Down
10 changes: 2 additions & 8 deletions docs/docs/01-welcome/02-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ To install the latest version of Ignite use [HomeBrew](https://formulae.brew.sh/
brew install ignite
```

Or use Snap on GNU/Linux:

```sh
snap install ignite --classic
```

### Install manually

Alternatively, you can install the latest version of the `ignite` binary use the following command:
Expand All @@ -57,7 +51,7 @@ curl https://get.ignite.com/cli! | bash
```

This command invokes `curl` to download the installation script and pipes the output to `bash` to perform the
installation. The `ignite` binary is installed in `/usr/local/bin`.
installation. The `ignite` binary is installed in `/usr/local/bin`.

Ignite CLI installation requires write permission to the `/usr/local/bin/` directory. If the installation fails because
you do not have write permission to `/usr/local/bin/`, run the following command:
Expand Down Expand Up @@ -100,7 +94,7 @@ To remove the current Ignite CLI installation:
Depending on your user permissions, run the command with or without `sudo`.
3. Repeat this step until all `ignite` installations are removed from your system.

After all existing Ignite CLI installations are removed, follow the [Installing Ignite CLI](#installing-ignite-cli)
After all existing Ignite CLI installations are removed, follow the [Installing Ignite CLI](#installing-ignite-cli)
instructions.

For details on version features and changes, see
Expand Down
10 changes: 2 additions & 8 deletions docs/versioned_docs/version-v29/01-welcome/02-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ To install the latest version of Ignite use [HomeBrew](https://formulae.brew.sh/
brew install ignite
```

Or use Snap on GNU/Linux:

```sh
snap install ignite --classic
```

### Install manually

Alternatively, you can install the latest version of the `ignite` binary use the following command:
Expand All @@ -57,7 +51,7 @@ curl https://get.ignite.com/cli! | bash
```

This command invokes `curl` to download the installation script and pipes the output to `bash` to perform the
installation. The `ignite` binary is installed in `/usr/local/bin`.
installation. The `ignite` binary is installed in `/usr/local/bin`.

Ignite CLI installation requires write permission to the `/usr/local/bin/` directory. If the installation fails because
you do not have write permission to `/usr/local/bin/`, run the following command:
Expand Down Expand Up @@ -100,7 +94,7 @@ To remove the current Ignite CLI installation:
Depending on your user permissions, run the command with or without `sudo`.
3. Repeat this step until all `ignite` installations are removed from your system.

After all existing Ignite CLI installations are removed, follow the [Installing Ignite CLI](#installing-ignite-cli)
After all existing Ignite CLI installations are removed, follow the [Installing Ignite CLI](#installing-ignite-cli)
instructions.

For details on version features and changes, see
Expand Down
27 changes: 3 additions & 24 deletions packaging/readme.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,13 @@
# Packaging and Distributing Ignite

Ignite CLI is distributed on multiple platforms and package managers. This document describes how to package and distribute Ignite CLI.

## Snap

Read the following resources to understand Snap.

* <https://snapcraft.io/docs/snapcraft-overview>
* <https://snapcraft.io/docs/go-plugin#heading--core22>
* <https://snapcraft.io/docs/go-applications>

```bash
cd packaging/snap
sudo apt install snapd
sudo snap install multipass
multipass launch
SNAPCRAFT_BUILD_ENVIRONMENT=multipass snapcraft
snap install ignite_0.0.0_amd64.snap --dangerous --classic
```

For building, from snapcraft 8, use `SNAPCRAFT_REMOTE_BUILD_STRATEGY=force-fallback snapcraft remote-build`.

A [github action](../.github/workflows/release-binary.yml) is used to build and publish the Snap at each release.
Ignite CLI is distributed on package managers. This document describes how to package and distribute Ignite CLI.

## HomeBrew

Read the following resources to understand HomeBrew.

* <https://docs.brew.sh/>
* <https://docs.brew.sh/Formula-Cookbook>
- <https://docs.brew.sh/>
- <https://docs.brew.sh/Formula-Cookbook>

```bash
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --interactive ignite
Expand Down
27 changes: 0 additions & 27 deletions packaging/snap/snapcraft.yaml

This file was deleted.

6 changes: 0 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@ Install Ignite using [Homebrew](https://formulae.brew.sh/formula/ignite) on macO
brew install ignite
```

Or using Snap on GNU/Linux:

```sh
snap install ignite --classic
```

Or manually using the following command:

```sh
Expand Down