Skip to content

Commit

Permalink
Merge pull request #744 from gohornet/develop
Browse files Browse the repository at this point in the history
Release v0.5.6
  • Loading branch information
muXxer committed Nov 15, 2020
2 parents 05cba88 + a6370c2 commit 0715a16
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_HORNET.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.15
go-version: 1.15.5
id: go

- name: Print Go version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Release
runs-on: [ubuntu-latest]
container:
image: iotmod/goreleaser-cgo-cross-compiler:1.15
image: iotmod/goreleaser-cgo-cross-compiler:1.15.5
volumes: [/repo]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_HORNET.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.15
go-version: 1.15.5
id: go

- name: Print Go version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Test release
runs-on: [ubuntu-latest]
container:
image: iotmod/goreleaser-cgo-cross-compiler:1.15
image: iotmod/goreleaser-cgo-cross-compiler:1.15.5
volumes: [/repo]

steps:
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

All notable changes to this project will be documented in this file.

## [0.5.6] - 15.11.2020

### Changed

- Updated to Go 1.15.5 (security fixes)

### Fixed

- Store milestone after it was found in serachMissingMilestone

## [0.5.5] - 13.11.2020

### Changed
Expand Down
2 changes: 1 addition & 1 deletion plugins/cli/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (

var (
// AppVersion version number
AppVersion = "0.5.5"
AppVersion = "0.5.6"
LatestGithubVersion = AppVersion

// AppName app code name
Expand Down
9 changes: 7 additions & 2 deletions plugins/tangle/solidifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -541,8 +541,13 @@ func searchMissingMilestone(solidMilestoneIndex milestone.Index, startMilestoneI
msIndex := cachedBndl.GetBundle().GetMilestoneIndex()
if (msIndex > solidMilestoneIndex) && (msIndex < startMilestoneIndex) {
// milestone found!
processValidMilestone(cachedBndl.Retain()) // bundle pass +1
return ErrMissingMilestoneFound // we return this as an error to stop the traverser
if cachedBndl.GetBundle().IsValid() && cachedBndl.GetBundle().ValidStrictSemantics() && cachedBndl.GetBundle().IsMilestone() {
// Force release to store milestones without caching
tangle.StoreMilestone(cachedBndl.GetBundle()).Release(true) // milestone +-0

processValidMilestone(cachedBndl.Retain()) // bundle pass +1
return ErrMissingMilestoneFound // we return this as an error to stop the traverser
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_goreleaser_snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# make script executable independent of path
cd $(dirname "$0")/../

GORELEASER_IMAGE=iotmod/goreleaser-cgo-cross-compiler:1.15
GORELEASER_IMAGE=iotmod/goreleaser-cgo-cross-compiler:1.15.5
REPO_PATH="/build"

docker pull "${GORELEASER_IMAGE}"
Expand Down

0 comments on commit 0715a16

Please sign in to comment.