Skip to content

Commit

Permalink
Merge pull request #208 from ipfs-force-community/chore/merge-release…
Browse files Browse the repository at this point in the history
…-v1.12

Chore/merge release v1.12
  • Loading branch information
LinZexiao authored Jul 11, 2023
2 parents 462e6e7 + 46cd015 commit f78c0e4
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 41 deletions.
31 changes: 0 additions & 31 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,26 +253,6 @@ jobs:
lint-all:
<<: *lint

publish:
description: publish binary artifacts
executor: ubuntu
steps:
- run:
name: Install git jq curl
command: apt update && apt install -y git jq curl
- checkout
- git_fetch_all_tags
- checkout
- install_ipfs
- attach_workspace:
at: "."
- run:
name: Create bundles
command: bash ./scripts/build-bundle.sh
- run:
name: Publish release
command: bash ./scripts/publish-release.sh

build-and-push-image:
description: build and push docker images to public AWS ECR registry
executor: aws-cli/default
Expand Down Expand Up @@ -423,17 +403,6 @@ workflows:
tags:
only:
- /^v\d+\.\d+\.\d+(-rc\d+)?$/
- publish:
requires:
- build-all
- build-macos
filters:
branches:
ignore:
- /.*/
tags:
only:
- /^v\d+\.\d+\.\d+(-rc\d+)?$/
- build-and-push-image:
dockerfile: Dockerfile.sophon-miner
path: .
Expand Down
2 changes: 1 addition & 1 deletion build/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package build
var CurrentCommit string

// BuildVersion is the local build version, set by build system
const BuildVersion = "1.12.0-rc2"
const BuildVersion = "1.12.0"
const Version = "1120"

func UserVersion() string {
Expand Down
2 changes: 2 additions & 0 deletions docs/zh/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# sophon-miner changelog

## 1.12.0

## 1.12.0-rc2 / 2023-06-20

### Bug Fixes
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ require (
github.com/filecoin-project/go-state-types v0.11.1
github.com/filecoin-project/specs-actors/v2 v2.3.6
github.com/filecoin-project/specs-actors/v7 v7.0.1
github.com/filecoin-project/venus v1.12.0-rc1
github.com/filecoin-project/venus v1.12.0
github.com/golang/mock v1.6.0
github.com/google/uuid v1.3.0
github.com/gorilla/mux v1.8.0
github.com/ipfs-force-community/metrics v1.0.1-0.20220719063006-2c54bb379466
github.com/ipfs-force-community/sophon-auth v1.12.0-rc1
github.com/ipfs-force-community/sophon-auth v1.12.0
github.com/ipfs/go-cid v0.3.2
github.com/ipfs/go-datastore v0.6.0
github.com/ipfs/go-ds-leveldb v0.5.0
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,8 @@ github.com/filecoin-project/specs-storage v0.2.2/go.mod h1:6cc/lncmAxMUocPi0z1EP
github.com/filecoin-project/storetheindex v0.3.5/go.mod h1:0r3d0kSpK63O6AvLr1CjAINLi+nWD49clzcnKV+GLpI=
github.com/filecoin-project/test-vectors/schema v0.0.5/go.mod h1:iQ9QXLpYWL3m7warwvK1JC/pTri8mnfEmKygNDqqY6E=
github.com/filecoin-project/venus v1.2.4/go.mod h1:hJULXHGAnWuq5S5KRtPkwbT8DqgM9II7NwyNU7t59D0=
github.com/filecoin-project/venus v1.12.0-rc1 h1:P1ylFseqjA5pV1Pbl04FdXwSE3CgTPeIa93aX0usjNE=
github.com/filecoin-project/venus v1.12.0-rc1/go.mod h1:t5AL4ksL7QHaeKZ6sl6u6kW3jBvHK+m1xV0AdtGfjPE=
github.com/filecoin-project/venus v1.12.0 h1:ukMOqu/Zx25a8v1mKQ2gcA9Eb54/wKp/Sv3okGnuPJU=
github.com/filecoin-project/venus v1.12.0/go.mod h1:kSdkZVJp4DLktMrKKaXFQxDGhBmJwVNWMSwPyWASd7o=
github.com/filecoin-project/venus-auth v1.3.2/go.mod h1:m5Jog2GYxztwP7w3m/iJdv/V1/bTcAVU9rm/CbhxRQU=
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc=
github.com/flynn/noise v0.0.0-20180327030543-2492fe189ae6/go.mod h1:1i71OnUq3iUe1ma7Lr6yG6/rjvM3emb6yoL7xLFzcVQ=
Expand Down Expand Up @@ -735,8 +735,8 @@ github.com/ipfs-force-community/metrics v1.0.0/go.mod h1:mn40SioMuKtjmRumHFy/fJ2
github.com/ipfs-force-community/metrics v1.0.1-0.20211022060227-11142a08b729/go.mod h1:mn40SioMuKtjmRumHFy/fJ26Pn028XuDjUJE9dorjyw=
github.com/ipfs-force-community/metrics v1.0.1-0.20220719063006-2c54bb379466 h1:oPQtpBVmYot48fGuUwqVuzD1ilMnHUXkkGSWy5VzUL8=
github.com/ipfs-force-community/metrics v1.0.1-0.20220719063006-2c54bb379466/go.mod h1:MOGtsAHKkSXi/ce9Ggci7nXq5jShePzwPDvdBSGDETk=
github.com/ipfs-force-community/sophon-auth v1.12.0-rc1 h1:Rm91rxnwbx6ejEIPh7Bmf/+cWaNezhSj/zwmIkG9MG4=
github.com/ipfs-force-community/sophon-auth v1.12.0-rc1/go.mod h1:cGYCfjA/BDB/Km9P7Za6t1hmwpFlPKf8ho/CHmLG81Y=
github.com/ipfs-force-community/sophon-auth v1.12.0 h1:nqjsA6bIv9Rd9+7lHxGDvNJ7gvt/M2yGSxymA6AoxXI=
github.com/ipfs-force-community/sophon-auth v1.12.0/go.mod h1:cGYCfjA/BDB/Km9P7Za6t1hmwpFlPKf8ho/CHmLG81Y=
github.com/ipfs-force-community/venus-common-utils v0.0.0-20210924063144-1d3a5b30de87/go.mod h1:RTVEOzM+hkpqmcEWpyLDkx1oGO5r9ZWCgYxG/CsXzJQ=
github.com/ipfs/bbloom v0.0.1/go.mod h1:oqo8CVWsJFMOZqTglBG4wydCE4IQA/G2/SEofB0rjUI=
github.com/ipfs/bbloom v0.0.4 h1:Gi+8EGJ2y5qiD5FbsbpX/TMNcJw8gSqr7eyjHa4Fhvs=
Expand Down
5 changes: 2 additions & 3 deletions lib/journal/fsjournal/fs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package fsjournal

import (
"encoding/json"
"io/ioutil"
"os"
"path/filepath"
"testing"
Expand All @@ -22,7 +21,7 @@ func TestFsJournal(t *testing.T) {
require.NoError(t, err)

dir := filepath.Join(lr.Path(), "journal")
require.NoError(t, ioutil.WriteFile(dir, []byte("file exists\n"), 0644))
require.NoError(t, os.WriteFile(dir, []byte("file exists\n"), 0644))

// stm: @VENUSMINER_JOURNAL_ENV_DISABLED_EVENTS_001
envDisableEvent := journal.EnvDisabledEvents()
Expand Down Expand Up @@ -63,7 +62,7 @@ func TestFsJournal(t *testing.T) {
t.Logf("Waiting record event...")

time.AfterFunc(time.Millisecond*100, func() {
recordEventData, err := ioutil.ReadFile(jlFile)
recordEventData, err := os.ReadFile(jlFile)
require.NoError(t, err)

event := &journal.Event{}
Expand Down

0 comments on commit f78c0e4

Please sign in to comment.