From 7851ba010cc5522511779406d7b684a2e355c220 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Tue, 28 Nov 2023 18:23:23 +0100 Subject: [PATCH 01/12] build: package ignite --- packaging/flatpak/com.ignite.Ignite.yml | 29 ++++++++++++ packaging/flatpak/ignite.desktop | 10 +++++ packaging/flatpak/ignite.metainfo.xml | 59 +++++++++++++++++++++++++ packaging/flatpak/logo.svg | 15 +++++++ 4 files changed, 113 insertions(+) create mode 100644 packaging/flatpak/com.ignite.Ignite.yml create mode 100644 packaging/flatpak/ignite.desktop create mode 100644 packaging/flatpak/ignite.metainfo.xml create mode 100644 packaging/flatpak/logo.svg diff --git a/packaging/flatpak/com.ignite.Ignite.yml b/packaging/flatpak/com.ignite.Ignite.yml new file mode 100644 index 0000000000..be17391c80 --- /dev/null +++ b/packaging/flatpak/com.ignite.Ignite.yml @@ -0,0 +1,29 @@ +app-id: com.ignite.Ignite +runtime: org.freedesktop.Platform +runtime-version: "23.08" +sdk: org.freedesktop.Sdk +sdk-extensions: + - org.freedesktop.Sdk.Extension.golang +command: ignite + +finish-args: + - --share=network + - --device=dri +build-options: + env: + - GOBIN=/app/bin + - GOROOT=/usr/lib/sdk/golang + +modules: + - name: ignite + buildsystem: simple + build-commands: + - $GOROOT/bin/go build -trimpath -o ignite + - install -Dm00755 ignite $FLATPAK_DEST/bin/ignite + - install -Dm00644 packaging/flatpak/logo.svg $FLATPAK_DEST/share/icons/hicolor/scalable/apps/ignite.svg + - install -Dm00644 packaging/flatpak/ignite.desktop $FLATPAK_DEST/share/applications/ignite.desktop + - install -Dm00644 packaging/flatpak/ignite.metainfo.xml $FLATPAK_DEST/share/metainfo/ignite.metainfo.xml + sources: + - type: git + url: "https://github.com/ignite/cli.git" + sha256: "e510a296195e3c8cf28dbbfaaae6de432e1553a2" diff --git a/packaging/flatpak/ignite.desktop b/packaging/flatpak/ignite.desktop new file mode 100644 index 0000000000..3ecb57280a --- /dev/null +++ b/packaging/flatpak/ignite.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application + +Name=ignite +Comment=Ignite CLI is the all-in-one platform to build, launch, and maintain any crypto application on a sovereign and secured blockchain +Categories=Utility;Development;Network + +Icon=ignite +Exec=ignite +Terminal=true \ No newline at end of file diff --git a/packaging/flatpak/ignite.metainfo.xml b/packaging/flatpak/ignite.metainfo.xml new file mode 100644 index 0000000000..9823f8c2da --- /dev/null +++ b/packaging/flatpak/ignite.metainfo.xml @@ -0,0 +1,59 @@ + + + com.ignite.Ignite + + Ignite CLI + Ignite + + Ignite CLI is the all-in-one platform to build, launch, and maintain any crypto + application on a sovereign and secured blockchain. + + + Development + + + Apache + Apache + + + ignite + cosmos + cosmos-sdk + blockchain + development + tendermint + + + + keyboard + + + +

Ignite CLI offers everything you need to build, test, and launch your blockchain with a decentralized worldwide community.

+

Ignite CLI is built on top of Cosmos SDK, the world's most popular blockchain framework.

+

Ignite CLI accelerates chain development by scaffolding everything you need so you can focus on business logic.

+
+ + ignite.desktop + + + https://raw.githubusercontent.com/ignite/cli/v0.27.1/assets/ignite-cli.png + How it works + + + + https://github.com/ignite/cli/issues + https://github.com/ignite/cli + + + + + + +

Ignite CLI supports Cosmos SDK v0.50

+
+ https://github.com/ignite/cli/releases/tag/v0.28.0 +
+
+ +
\ No newline at end of file diff --git a/packaging/flatpak/logo.svg b/packaging/flatpak/logo.svg new file mode 100644 index 0000000000..46a0ffa303 --- /dev/null +++ b/packaging/flatpak/logo.svg @@ -0,0 +1,15 @@ + + + + + From 3db8cf5f89e11620ae3d70c2328c3b3d820a7f55 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Tue, 28 Nov 2023 18:28:02 +0100 Subject: [PATCH 02/12] wip --- packaging/README.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 packaging/README.md diff --git a/packaging/README.md b/packaging/README.md new file mode 100644 index 0000000000..dd29c21bba --- /dev/null +++ b/packaging/README.md @@ -0,0 +1,7 @@ +# Packaging and Distributing Ignite + +## Flatpak + +## Snap + +## HomeBrew From 91b8d00cc5fff85f8436f5b14d48026de945bce3 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Tue, 28 Nov 2023 22:14:29 +0100 Subject: [PATCH 03/12] updates --- packaging/README.md | 7 +++++++ packaging/flatpak/ignite.metainfo.xml | 6 ++++-- packaging/snap/snap/snapcraft.yaml | 22 ++++++++++++++++++++++ 3 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 packaging/snap/snap/snapcraft.yaml diff --git a/packaging/README.md b/packaging/README.md index dd29c21bba..0e9ae2e98d 100644 --- a/packaging/README.md +++ b/packaging/README.md @@ -1,7 +1,14 @@ # Packaging and Distributing Ignite +Ignite CLI is distributed on multiple platforms and package managers. This document describes how to package and distribute Ignite CLI. + ## Flatpak +* + ## Snap +* +* + ## HomeBrew diff --git a/packaging/flatpak/ignite.metainfo.xml b/packaging/flatpak/ignite.metainfo.xml index 9823f8c2da..dcbed3d471 100644 --- a/packaging/flatpak/ignite.metainfo.xml +++ b/packaging/flatpak/ignite.metainfo.xml @@ -29,9 +29,11 @@ -

Ignite CLI offers everything you need to build, test, and launch your blockchain with a decentralized worldwide community.

+

Ignite CLI offers everything you need to build, test, and launch your blockchain with a + decentralized worldwide community.

Ignite CLI is built on top of Cosmos SDK, the world's most popular blockchain framework.

-

Ignite CLI accelerates chain development by scaffolding everything you need so you can focus on business logic.

+

Ignite CLI accelerates chain development by scaffolding everything you need so you can focus + on business logic.

ignite.desktop diff --git a/packaging/snap/snap/snapcraft.yaml b/packaging/snap/snap/snapcraft.yaml new file mode 100644 index 0000000000..ef176a6721 --- /dev/null +++ b/packaging/snap/snap/snapcraft.yaml @@ -0,0 +1,22 @@ +name: ignite +base: core22 # the base snap is the execution environment for this snap +version: "0.28.0" +summary: Build, launch, and maintain any crypto application with Ignite CLI # 79 char long summary +description: | + Ignite CLI offers everything you need to build, test, and launch your blockchain with a decentralized worldwide community. Ignite CLI is built on top of Cosmos SDK, the world's most popular blockchain framework. + Ignite CLI accelerates chain development by scaffolding everything you need so you can focus on business logic. + +grade: devel # must be 'stable' to release into candidate/stable channels +confinement: devmode # use 'strict' once you have the right plugs and slots + +apps: + ignite: + command: bin/ignite + plugs: [home, network, network-bind, removable-media] + +parts: + ignite: + plugin: go + source: https://github.com/ignite/cli.git + build-snaps: + - go From 3e480f07bb25c88dbf1ec16a5d19952c5bc3bc86 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Tue, 28 Nov 2023 22:28:30 +0100 Subject: [PATCH 04/12] updates --- .github/workflows/release-binary.yml | 31 +++++++++++++++++++++--- packaging/README.md | 1 + packaging/snap/{snap => }/snapcraft.yaml | 0 3 files changed, 29 insertions(+), 3 deletions(-) rename packaging/snap/{snap => }/snapcraft.yaml (100%) diff --git a/.github/workflows/release-binary.yml b/.github/workflows/release-binary.yml index dd1f4a185c..ef5c36dc4c 100644 --- a/.github/workflows/release-binary.yml +++ b/.github/workflows/release-binary.yml @@ -2,7 +2,7 @@ name: Release Binaries on: release: - types: [ published ] + types: [published] concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} @@ -13,12 +13,12 @@ jobs: runs-on: ubuntu-latest env: working-directory: go/src/github.com/ignite/cli - + steps: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.21' + go-version: "1.21" - name: Checkout uses: actions/checkout@v3 @@ -34,3 +34,28 @@ jobs: args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + publish-snap: + runs-on: ubuntu-latest + + steps: + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: "1.21" + + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Build snap package + uses: snapcore/action-build@v1 + id: build-snap + + - name: Publish snap package + uses: snapcore/action-publish@v1 + with: + store_login: ${{ secrets.SNAPCRAFT_LOGIN }} + snap: ${{ steps.build-snap.outputs.snap }} + release: stable diff --git a/packaging/README.md b/packaging/README.md index 0e9ae2e98d..3ac370ef56 100644 --- a/packaging/README.md +++ b/packaging/README.md @@ -10,5 +10,6 @@ Ignite CLI is distributed on multiple platforms and package managers. This docum * * +* [github action](../.github/workflows/release-binary.yml) ## HomeBrew diff --git a/packaging/snap/snap/snapcraft.yaml b/packaging/snap/snapcraft.yaml similarity index 100% rename from packaging/snap/snap/snapcraft.yaml rename to packaging/snap/snapcraft.yaml From 8f95916f38a0a1f129dc0544bc7dce186ce147e9 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Mon, 4 Dec 2023 10:48:16 +0100 Subject: [PATCH 05/12] updates --- packaging/README.md | 22 +++++++++++++++++++++- packaging/flatpak/.gitignore | 3 +++ packaging/flatpak/com.ignite.Ignite.yml | 12 ++++++++---- packaging/flatpak/ignite.metainfo.xml | 6 +++--- packaging/snap/snapcraft.yaml | 4 ++-- 5 files changed, 37 insertions(+), 10 deletions(-) create mode 100644 packaging/flatpak/.gitignore diff --git a/packaging/README.md b/packaging/README.md index 3ac370ef56..1ddc90ff5a 100644 --- a/packaging/README.md +++ b/packaging/README.md @@ -4,12 +4,32 @@ Ignite CLI is distributed on multiple platforms and package managers. This docum ## Flatpak +Read the folowing resources to understand Flatpak. + * +* + +```bash +cd packaging/flatpak +sudo apt install flatpak-builder +flatpak install org.freedesktop.Platform//23.08 org.freedesktop.Sdk//23.08 org.freedesktop.Sdk.Extension.golang//23.08 +flatpak-builder build-dir com.ignite.Ignite.yml --force-clean +flatpak-builder --user --install--force-clean --repo=repo build-dir com.ignite.Ignite.yml +flatpak run com.ignite.Ignite +``` + +The Flatpak is published at . +The update process is done manually at at the moment. At each release, edit `com.ignite.Ignite.yml` and the metainfo file to update the version. ## Snap +Read the folowing resources to understand Snap. + * * -* [github action](../.github/workflows/release-binary.yml) + +A [github action](../.github/workflows/release-binary.yml) is used to build and publish the Snap at each released. ## HomeBrew + +TBD. diff --git a/packaging/flatpak/.gitignore b/packaging/flatpak/.gitignore new file mode 100644 index 0000000000..5a3179ba85 --- /dev/null +++ b/packaging/flatpak/.gitignore @@ -0,0 +1,3 @@ +.flatpak-builder +build-dir +repo \ No newline at end of file diff --git a/packaging/flatpak/com.ignite.Ignite.yml b/packaging/flatpak/com.ignite.Ignite.yml index be17391c80..5c56456840 100644 --- a/packaging/flatpak/com.ignite.Ignite.yml +++ b/packaging/flatpak/com.ignite.Ignite.yml @@ -8,8 +8,12 @@ command: ignite finish-args: - --share=network - - --device=dri + - --device=all + - --filesystem=host build-options: + append-path: /usr/lib/sdk/golang/bin + build-args: + - --share=network env: - GOBIN=/app/bin - GOROOT=/usr/lib/sdk/golang @@ -18,12 +22,12 @@ modules: - name: ignite buildsystem: simple build-commands: - - $GOROOT/bin/go build -trimpath -o ignite - - install -Dm00755 ignite $FLATPAK_DEST/bin/ignite + - $GOROOT/bin/go build -mod=readonly -o ignt ./ignite/cmd/ignite + - install -Dm00755 ignt $FLATPAK_DEST/bin/ignite - install -Dm00644 packaging/flatpak/logo.svg $FLATPAK_DEST/share/icons/hicolor/scalable/apps/ignite.svg - install -Dm00644 packaging/flatpak/ignite.desktop $FLATPAK_DEST/share/applications/ignite.desktop - install -Dm00644 packaging/flatpak/ignite.metainfo.xml $FLATPAK_DEST/share/metainfo/ignite.metainfo.xml sources: - type: git url: "https://github.com/ignite/cli.git" - sha256: "e510a296195e3c8cf28dbbfaaae6de432e1553a2" + tag: "v0.27.2" ## TODO update to v28.0.0 diff --git a/packaging/flatpak/ignite.metainfo.xml b/packaging/flatpak/ignite.metainfo.xml index dcbed3d471..9f2ec83586 100644 --- a/packaging/flatpak/ignite.metainfo.xml +++ b/packaging/flatpak/ignite.metainfo.xml @@ -50,11 +50,11 @@ - + -

Ignite CLI supports Cosmos SDK v0.50

+

Ignite CLI v28.0.0 adds support for Cosmos SDK Eden (v0.50)

- https://github.com/ignite/cli/releases/tag/v0.28.0 + https://github.com/ignite/cli/releases/tag/v28.0.0
diff --git a/packaging/snap/snapcraft.yaml b/packaging/snap/snapcraft.yaml index ef176a6721..b73aa71905 100644 --- a/packaging/snap/snapcraft.yaml +++ b/packaging/snap/snapcraft.yaml @@ -1,12 +1,12 @@ name: ignite base: core22 # the base snap is the execution environment for this snap -version: "0.28.0" +version: "28.0.0" summary: Build, launch, and maintain any crypto application with Ignite CLI # 79 char long summary description: | Ignite CLI offers everything you need to build, test, and launch your blockchain with a decentralized worldwide community. Ignite CLI is built on top of Cosmos SDK, the world's most popular blockchain framework. Ignite CLI accelerates chain development by scaffolding everything you need so you can focus on business logic. -grade: devel # must be 'stable' to release into candidate/stable channels +grade: stable # must be 'stable' to release into candidate/stable channels confinement: devmode # use 'strict' once you have the right plugs and slots apps: From ab151e360b1bbd2a7b5bb31cd241071c87793961 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Mon, 4 Dec 2023 11:58:28 +0100 Subject: [PATCH 06/12] updates --- .github/workflows/release-binary.yml | 25 ------------------ .github/workflows/snapcraft.yml | 35 +++++++++++++++++++++++++ packaging/README.md | 10 +++++++ packaging/flatpak/com.ignite.Ignite.yml | 2 +- packaging/snap/snapcraft.yaml | 14 +++++----- 5 files changed, 54 insertions(+), 32 deletions(-) create mode 100644 .github/workflows/snapcraft.yml diff --git a/.github/workflows/release-binary.yml b/.github/workflows/release-binary.yml index ef5c36dc4c..eeff8c13de 100644 --- a/.github/workflows/release-binary.yml +++ b/.github/workflows/release-binary.yml @@ -34,28 +34,3 @@ jobs: args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - publish-snap: - runs-on: ubuntu-latest - - steps: - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: "1.21" - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Build snap package - uses: snapcore/action-build@v1 - id: build-snap - - - name: Publish snap package - uses: snapcore/action-publish@v1 - with: - store_login: ${{ secrets.SNAPCRAFT_LOGIN }} - snap: ${{ steps.build-snap.outputs.snap }} - release: stable diff --git a/.github/workflows/snapcraft.yml b/.github/workflows/snapcraft.yml new file mode 100644 index 0000000000..6d16f32550 --- /dev/null +++ b/.github/workflows/snapcraft.yml @@ -0,0 +1,35 @@ +name: Publish snap package + +on: + release: + types: [published] + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +jobs: + publish-snap: + runs-on: ubuntu-latest + + steps: + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: "1.21" + + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Build snap package + uses: snapcore/action-build@v1 + id: build-snap + + - name: Publish snap package + uses: snapcore/action-publish@v1 + with: + store_login: ${{ secrets.SNAPCRAFT_LOGIN }} + snap: ${{ steps.build-snap.outputs.snap }} + release: stable diff --git a/packaging/README.md b/packaging/README.md index 1ddc90ff5a..1ef3d36fa9 100644 --- a/packaging/README.md +++ b/packaging/README.md @@ -27,6 +27,16 @@ Read the folowing resources to understand Snap. * * +* + +```bash +cd packaging/snap +sudo apt install snapd +sudo snap install multipass +multipass launch +SNAPCRAFT_BUILD_ENVIRONMENT=multipass snapcraft +snap install --dangerous ignite-cli_0.0.0_amd64.snap +``` A [github action](../.github/workflows/release-binary.yml) is used to build and publish the Snap at each released. diff --git a/packaging/flatpak/com.ignite.Ignite.yml b/packaging/flatpak/com.ignite.Ignite.yml index 5c56456840..06dd2d0958 100644 --- a/packaging/flatpak/com.ignite.Ignite.yml +++ b/packaging/flatpak/com.ignite.Ignite.yml @@ -30,4 +30,4 @@ modules: sources: - type: git url: "https://github.com/ignite/cli.git" - tag: "v0.27.2" ## TODO update to v28.0.0 + tag: "v28.0.0" diff --git a/packaging/snap/snapcraft.yaml b/packaging/snap/snapcraft.yaml index b73aa71905..d49d546354 100644 --- a/packaging/snap/snapcraft.yaml +++ b/packaging/snap/snapcraft.yaml @@ -7,16 +7,18 @@ description: | Ignite CLI accelerates chain development by scaffolding everything you need so you can focus on business logic. grade: stable # must be 'stable' to release into candidate/stable channels -confinement: devmode # use 'strict' once you have the right plugs and slots - -apps: - ignite: - command: bin/ignite - plugs: [home, network, network-bind, removable-media] +confinement: strict # use 'strict' once you have the right plugs and slots parts: ignite: plugin: go source: https://github.com/ignite/cli.git + source-tag: v28.0.0 + source-subdir: ignite/cmd/ignite build-snaps: - go + +apps: + ignite: + command: bin/ignite + plugs: [home, network, network-bind, removable-media] From 3c2c30257b9c946ec2b749cb6a31e6c90963aa1f Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Mon, 4 Dec 2023 12:29:36 +0100 Subject: [PATCH 07/12] upates --- packaging/{flatpak => }/.gitignore | 3 ++- packaging/README.md | 2 +- packaging/snap/snapcraft.yaml | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) rename packaging/{flatpak => }/.gitignore (71%) diff --git a/packaging/flatpak/.gitignore b/packaging/.gitignore similarity index 71% rename from packaging/flatpak/.gitignore rename to packaging/.gitignore index 5a3179ba85..0ec52ff128 100644 --- a/packaging/flatpak/.gitignore +++ b/packaging/.gitignore @@ -1,3 +1,4 @@ .flatpak-builder build-dir -repo \ No newline at end of file +repo +*.snap \ No newline at end of file diff --git a/packaging/README.md b/packaging/README.md index 1ef3d36fa9..771621e66a 100644 --- a/packaging/README.md +++ b/packaging/README.md @@ -35,7 +35,7 @@ sudo apt install snapd sudo snap install multipass multipass launch SNAPCRAFT_BUILD_ENVIRONMENT=multipass snapcraft -snap install --dangerous ignite-cli_0.0.0_amd64.snap +snap install ignite_0.0.0_amd64.snap --dangerous --classic ``` A [github action](../.github/workflows/release-binary.yml) is used to build and publish the Snap at each released. diff --git a/packaging/snap/snapcraft.yaml b/packaging/snap/snapcraft.yaml index d49d546354..e67854cad4 100644 --- a/packaging/snap/snapcraft.yaml +++ b/packaging/snap/snapcraft.yaml @@ -7,13 +7,13 @@ description: | Ignite CLI accelerates chain development by scaffolding everything you need so you can focus on business logic. grade: stable # must be 'stable' to release into candidate/stable channels -confinement: strict # use 'strict' once you have the right plugs and slots +confinement: classic parts: ignite: plugin: go source: https://github.com/ignite/cli.git - source-tag: v28.0.0 + source-tag: v0.27.2 source-subdir: ignite/cmd/ignite build-snaps: - go From 846c340c9f6b537a61f367f22cd5396c1a596ce2 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Mon, 4 Dec 2023 12:31:09 +0100 Subject: [PATCH 08/12] changelog --- changelog.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 5da32152a6..c4256217be 100644 --- a/changelog.md +++ b/changelog.md @@ -17,6 +17,7 @@ - [#3724](https://github.com/ignite/cli/pull/3724) Add or vendor proto packages from Go dependencies - [#3715](https://github.com/ignite/cli/pull/3715) Add test suite for the cli tests - [#3756](https://github.com/ignite/cli/pull/3756) Add faucet compatibility for latest sdk chains +- [#3786](https://github.com/ignite/cli/pull/3786) Add artifacts for publishing Ignite to FlatHub and Snapcraft ### Changes @@ -790,4 +791,4 @@ Our new name is **Ignite CLI**! ## `v0.0.9` -Initial release. \ No newline at end of file +Initial release. From 5a2780c98317adc8b37bb03e0539352e6a02de23 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Wed, 6 Dec 2023 10:25:15 +0100 Subject: [PATCH 09/12] updates --- packaging/flatpak/com.ignite.Ignite.yml | 6 +++--- packaging/snap/snapcraft.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packaging/flatpak/com.ignite.Ignite.yml b/packaging/flatpak/com.ignite.Ignite.yml index 06dd2d0958..875b63aa26 100644 --- a/packaging/flatpak/com.ignite.Ignite.yml +++ b/packaging/flatpak/com.ignite.Ignite.yml @@ -24,9 +24,9 @@ modules: build-commands: - $GOROOT/bin/go build -mod=readonly -o ignt ./ignite/cmd/ignite - install -Dm00755 ignt $FLATPAK_DEST/bin/ignite - - install -Dm00644 packaging/flatpak/logo.svg $FLATPAK_DEST/share/icons/hicolor/scalable/apps/ignite.svg - - install -Dm00644 packaging/flatpak/ignite.desktop $FLATPAK_DEST/share/applications/ignite.desktop - - install -Dm00644 packaging/flatpak/ignite.metainfo.xml $FLATPAK_DEST/share/metainfo/ignite.metainfo.xml + #- install -Dm00644 packaging/flatpak/logo.svg $FLATPAK_DEST/share/icons/hicolor/scalable/apps/ignite.svg + #- install -Dm00644 packaging/flatpak/ignite.desktop $FLATPAK_DEST/share/applications/ignite.desktop + #- install -Dm00644 packaging/flatpak/ignite.metainfo.xml $FLATPAK_DEST/share/metainfo/ignite.metainfo.xml sources: - type: git url: "https://github.com/ignite/cli.git" diff --git a/packaging/snap/snapcraft.yaml b/packaging/snap/snapcraft.yaml index e67854cad4..87822b1e9c 100644 --- a/packaging/snap/snapcraft.yaml +++ b/packaging/snap/snapcraft.yaml @@ -13,7 +13,7 @@ parts: ignite: plugin: go source: https://github.com/ignite/cli.git - source-tag: v0.27.2 + source-tag: v28.0.0 source-subdir: ignite/cmd/ignite build-snaps: - go From 2b8f6061548371597df58e2a907d437d160eb0fa Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Wed, 6 Dec 2023 10:26:17 +0100 Subject: [PATCH 10/12] fix changelog --- changelog.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 4669a8d524..a0696fd3ca 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,10 @@ ## Unreleased +### Features + +- [#3786](https://github.com/ignite/cli/pull/3786) Add artifacts for publishing Ignite to FlatHub and Snapcraft + ## [`v28.0.0`](https://github.com/ignite/cli/releases/tag/v28.0.0) ### Features @@ -18,7 +22,6 @@ - [#3614](https://github.com/ignite/cli/pull/3614) feat: use DefaultBaseappOptions for app.New method - [#3715](https://github.com/ignite/cli/pull/3715) Add test suite for the cli tests - [#3756](https://github.com/ignite/cli/pull/3756) Add faucet compatibility for latest sdk chains -- [#3786](https://github.com/ignite/cli/pull/3786) Add artifacts for publishing Ignite to FlatHub and Snapcraft ### Changes From 097a7e948382c65402d749ff2d71bf444aa3685f Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Wed, 6 Dec 2023 16:08:51 +0100 Subject: [PATCH 11/12] fix link --- packaging/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/README.md b/packaging/README.md index 771621e66a..2edc911c15 100644 --- a/packaging/README.md +++ b/packaging/README.md @@ -6,7 +6,7 @@ Ignite CLI is distributed on multiple platforms and package managers. This docum Read the folowing resources to understand Flatpak. -* +* * ```bash @@ -38,7 +38,7 @@ SNAPCRAFT_BUILD_ENVIRONMENT=multipass snapcraft snap install ignite_0.0.0_amd64.snap --dangerous --classic ``` -A [github action](../.github/workflows/release-binary.yml) is used to build and publish the Snap at each released. +A [github action](../.github/workflows/release-binary.yml) is used to build and publish the Snap at each release. ## HomeBrew From 483a89fc78d5a2b0094f2f4aeda1092938d72915 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Thu, 7 Dec 2023 10:59:21 +0100 Subject: [PATCH 12/12] merge conflict --- changelog.md | 1 - 1 file changed, 1 deletion(-) diff --git a/changelog.md b/changelog.md index a0696fd3ca..43b37f3e29 100644 --- a/changelog.md +++ b/changelog.md @@ -21,7 +21,6 @@ - [#3626](https://github.com/ignite/cli/pull/3626) Add logging levels to relayer - [#3614](https://github.com/ignite/cli/pull/3614) feat: use DefaultBaseappOptions for app.New method - [#3715](https://github.com/ignite/cli/pull/3715) Add test suite for the cli tests -- [#3756](https://github.com/ignite/cli/pull/3756) Add faucet compatibility for latest sdk chains ### Changes