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

Pkg publish #1655

Merged
merged 4 commits into from
Jan 22, 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
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