Skip to content

Commit

Permalink
Merge pull request #96 from renproject/release/3.1.0
Browse files Browse the repository at this point in the history
release 3.1.0
  • Loading branch information
tok-kkk committed Nov 15, 2021
2 parents 35d516c + 6bbf625 commit 688e43a
Show file tree
Hide file tree
Showing 32 changed files with 1,392 additions and 741 deletions.
87 changes: 0 additions & 87 deletions .circleci/config.yml

This file was deleted.

45 changes: 45 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: release
on:
push:
tags:
- '*'
jobs:
release:
container: techknowlogick/xgo:latest
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Configure git for private modules
env:
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: git config --global url."https://tok-kkk:${TOKEN}@github.com".insteadOf "https://github.com"
- name: Get the version
uses: olegtarasov/[email protected]
id: tagName
- name: Build the binary
run: |
go build -o darknode_linux_amd64 -ldflags "-s -w -X main.BinaryVersion=${GIT_TAG_NAME}" ./cmd/*.go
mv darknode_linux_amd64 ./artifacts/
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
mv darknode_linux_arm ./artifacts/
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
mv darknode_darwin_amd64 ./artifacts/
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
mv darknode_darwin_arm64 ./artifacts/
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
with:
files: |
./artifacts/darknode_darwin_amd64
./artifacts/darknode_darwin_arm64
./artifacts/darknode_linux_amd64
./artifacts/darknode_linux_arm
./artifacts/install.sh
./artifacts/update.sh
- name: Verify the installation process
run: |
curl https://www.github.com/renproject/darknode-cli/releases/latest/download/install.sh -sSfL | sh
export PATH=$PATH:$HOME/.darknode/bin
darknode --version
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## 3.1.0
- Support Apple Silicon chip (M1)
- Improve installation/update scripts
- Bug fixes
- Update package dependency
- Move from CircleCI to github action

## 3.0.15
- Support deploying a new darknode using an existing config file.

## 3.0.14
- Fix bug when fetching latest darknode-release during darknode installation
- Remove `jq` from darknode installation

## 3.0.13
- Fix pagination issue when fetching latest darknode releases from github.

Expand Down
28 changes: 0 additions & 28 deletions Makefile

This file was deleted.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,3 +226,7 @@ or a script file
```sh
darknode exec YOUR-DARKNODE-NAME --file test.sh
```

### Github rate limiting

You can set the `GITHUB_TOKEN` environment variable to increase your github rate limit.
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

Loading

0 comments on commit 688e43a

Please sign in to comment.