mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 11:26:44 +01:00
Compare commits
4 Commits
fix/packr-
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e2bae9a13c | ||
|
|
b8d339d568 | ||
|
|
e52ba3d258 | ||
|
|
a1eea43443 |
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
@@ -9,19 +9,18 @@ jobs:
|
|||||||
goreleaser:
|
goreleaser:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
-
|
||||||
|
name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Set up Go
|
-
|
||||||
|
name: Set up Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.16
|
go-version: 1.16
|
||||||
- name: Get packr
|
-
|
||||||
run: go get -u github.com/gobuffalo/packr
|
name: Run GoReleaser
|
||||||
- name: Prepare
|
|
||||||
run: git reset --hard
|
|
||||||
- name: Run GoReleaser
|
|
||||||
uses: goreleaser/goreleaser-action@v2
|
uses: goreleaser/goreleaser-action@v2
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
|
|||||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
bin/
|
bin/
|
||||||
|
dist/
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
- go mod download
|
- go mod download
|
||||||
|
- make migration-pack
|
||||||
|
|
||||||
builds:
|
builds:
|
||||||
- main: ./cli/node/main.go
|
- main: ./cli/node/main.go
|
||||||
@@ -12,6 +13,14 @@ builds:
|
|||||||
goarch:
|
goarch:
|
||||||
- amd64
|
- amd64
|
||||||
|
|
||||||
|
archives:
|
||||||
|
- replacements:
|
||||||
|
darwin: Darwin
|
||||||
|
linux: Linux
|
||||||
|
windows: Windows
|
||||||
|
386: i386
|
||||||
|
amd64: x86_64
|
||||||
|
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
|
|
||||||
|
|||||||
@@ -59,9 +59,9 @@ externalDocs:
|
|||||||
description: Find out more about Hermez network.
|
description: Find out more about Hermez network.
|
||||||
url: 'https://hermez.io'
|
url: 'https://hermez.io'
|
||||||
servers:
|
servers:
|
||||||
- description: Hosted mock up
|
- description: Testnet api, connected to Rinkeby deployment
|
||||||
url: https://apimock.hermez.network/v1
|
url: https://api.testnet.hermez.io/v1
|
||||||
- description: Localhost mock Up
|
- description: Localhost usefull for testing/developing the api
|
||||||
url: http://localhost:4010/v1
|
url: http://localhost:4010/v1
|
||||||
tags:
|
tags:
|
||||||
- name: Coordinator
|
- name: Coordinator
|
||||||
|
|||||||
Reference in New Issue
Block a user