Skip to content

Commit

Permalink
Merge pull request #1655 from cpunion/pkg-publish
Browse files Browse the repository at this point in the history
Pkg publish
  • Loading branch information
xushiwei authored Jan 22, 2024
2 parents 455d101 + dfaac76 commit 47b59fc
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 11 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,13 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WINGET_PKGS_PRIVATE_KEY: ${{ secrets.WINGET_PKGS_PRIVATE_KEY }}

- name: Upload deb/rpm to Fury.io
run: |
for file in dist/*.{deb,rpm}
do
echo "Uploading $file to Fury.io"
curl -sS -F package=@$file https://$FURY_TOKEN@push.fury.io/goplus/
done
env:
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
19 changes: 16 additions & 3 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,25 @@ changelog:
- "^test:"

winget:
- name: gop
- name: goplus
homepage: "https://goplus.org/"
publisher: goplus
publisher_url: https://github.com/goplus/gop
publisher_support_url: "https://github.com/goplus/gop/issues/new"
package_identifier: goplus.gop
path: "manifests/g/goplus/gop/{{.Version}}"
tags:
- golang
- go
- gop
- goplus
- programming
- language
- compiler
- interpreter
- data science
- engineering
- education
short_description: The Go+ Programming Language
description: |
The Go+ programming language is designed for engineering, STEM education, and data science.
Expand Down Expand Up @@ -103,7 +116,7 @@ winget:
branch: master

nfpms:
- package_name: goplus-gop
- package_name: gop
vendor: goplus
homepage: https://goplus.org/
maintainer: Li Jie <cpunion@gmail.com>
Expand Down Expand Up @@ -179,7 +192,7 @@ nfpms:

snapcrafts:
- id: gop
name: goplus
name: gop
title: The Go+ Programming Language
summary: The Go+ Programming Language
description: |
Expand Down
43 changes: 35 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,41 @@ For more details, see [Quick Start](doc/docs.md).

## How to install

### on Windows

```sh
winget install goplus
```

Or

```sh
winget install goplus.gop
```

### on Debian/Ubuntu

```sh
sudo bash -c ' echo "deb [trusted=yes] https://pkgs.goplus.org/apt/ /" > /etc/apt/sources.list.d/goplus.list'
sudo apt update
sudo apt install gop
```

### on RedHat/CentOS/Fedora

```sh
sudo bash -c 'echo -e "[goplus]\nname=Go+ Repo\nbaseurl=https://pkgs.goplus.org/yum/\nenabled=1\ngpgcheck=0" > /etc/yum.repos.d/goplus.repo'
sudo yum install gop
```

### on macOS/Linux(Homebrew)

Install via [brew](https://brew.sh/)

```sh
$ brew install goplus
```

### from source code

For now, we suggest you install Go+ from source code.
Expand All @@ -63,14 +98,6 @@ cd gop
all.bat
```

### on macOS/Linux

Install via [brew](https://brew.sh/)
```sh
$ brew install goplus
```


## Go+ Applications

### 2D Games powered by Go+
Expand Down

0 comments on commit 47b59fc

Please sign in to comment.