Skip to content

Commit 688e43a

Browse files
authored
Merge pull request #96 from renproject/release/3.1.0
release 3.1.0
2 parents 35d516c + 6bbf625 commit 688e43a

32 files changed

+1392
-741
lines changed

.circleci/config.yml

Lines changed: 0 additions & 87 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: release
2+
on:
3+
push:
4+
tags:
5+
- '*'
6+
jobs:
7+
release:
8+
container: techknowlogick/xgo:latest
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check out code
12+
uses: actions/checkout@v2
13+
- name: Configure git for private modules
14+
env:
15+
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
16+
run: git config --global url."https://tok-kkk:${TOKEN}@github.com".insteadOf "https://github.com"
17+
- name: Get the version
18+
uses: olegtarasov/get-tag@v2.1
19+
id: tagName
20+
- name: Build the binary
21+
run: |
22+
go build -o darknode_linux_amd64 -ldflags "-s -w -X main.BinaryVersion=${GIT_TAG_NAME}" ./cmd/*.go
23+
mv darknode_linux_amd64 ./artifacts/
24+
env GOOS=linux CGO_ENABLED=1 CC=aarch64-linux-gnu-gcc-6 CXX=aarch64-linux-gnu-g++-6 GOARCH=arm64 go build -o darknode_linux_arm -ldflags "-s -w -X main.BinaryVersion=${GIT_TAG_NAME}" ./cmd/*.go
25+
mv darknode_linux_arm ./artifacts/
26+
env GOOS=darwin CGO_ENABLED=1 CC=o64-clang CXX=o64-clang++ GOARCH=amd64 go build -o darknode_darwin_amd64 -ldflags "-s -w -X main.BinaryVersion=${GIT_TAG_NAME}" ./cmd/*.go
27+
mv darknode_darwin_amd64 ./artifacts/
28+
env GOOS=darwin CGO_ENABLED=1 CC=o64-clang CXX=o64-clang++ GOARCH=arm64 go build -o darknode_darwin_arm64 -ldflags "-s -w -X main.BinaryVersion=${GIT_TAG_NAME}" ./cmd/*.go
29+
mv darknode_darwin_arm64 ./artifacts/
30+
- name: Create Release
31+
id: create_release
32+
uses: softprops/action-gh-release@v1
33+
with:
34+
files: |
35+
./artifacts/darknode_darwin_amd64
36+
./artifacts/darknode_darwin_arm64
37+
./artifacts/darknode_linux_amd64
38+
./artifacts/darknode_linux_arm
39+
./artifacts/install.sh
40+
./artifacts/update.sh
41+
- name: Verify the installation process
42+
run: |
43+
curl https://www.github.com/renproject/darknode-cli/releases/latest/download/install.sh -sSfL | sh
44+
export PATH=$PATH:$HOME/.darknode/bin
45+
darknode --version

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## 3.1.0
2+
- Support Apple Silicon chip (M1)
3+
- Improve installation/update scripts
4+
- Bug fixes
5+
- Update package dependency
6+
- Move from CircleCI to github action
7+
8+
## 3.0.15
9+
- Support deploying a new darknode using an existing config file.
10+
11+
## 3.0.14
12+
- Fix bug when fetching latest darknode-release during darknode installation
13+
- Remove `jq` from darknode installation
14+
115
## 3.0.13
216
- Fix pagination issue when fetching latest darknode releases from github.
317

Makefile

Lines changed: 0 additions & 28 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,3 +226,7 @@ or a script file
226226
```sh
227227
darknode exec YOUR-DARKNODE-NAME --file test.sh
228228
```
229+
230+
### Github rate limiting
231+
232+
You can set the `GITHUB_TOKEN` environment variable to increase your github rate limit.

VERSION

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)