Skip to content

Commit

Permalink
Release v0.6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
indyjo committed Oct 19, 2019
1 parent be4f8fd commit 5e24079
Show file tree
Hide file tree
Showing 29 changed files with 38 additions and 29 deletions.
32 changes: 19 additions & 13 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ builds:
-
main: ./client/cmd/bitwrk-client/
binary: bitwrk-client
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
ldflags: -s -w -X main.ClientVersion={{ .Major }}.{{ .Minor }}.{{ .Patch }} -X main.CommitSHA={{ .Commit }}
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
- 386
- arm
# - arm64
# - 386
# - arm
goarm:
- 6
- 7
Expand All @@ -30,21 +30,27 @@ sign:
artifacts: checksum
archives:
-
format_overrides:
- goos: windows
format: zip

replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
darwin: osx
linux: linux
windows: windows
386: x86
amd64: x64

files:
- share/**/*
- resources/**/*

wrap_in_directory: "{{ .ProjectName }}-{{ .Version }}"

wrap_in_directory: true
name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}.{{ .Arch }}"
checksum:
name_template: 'checksums.txt'
name_template: 'checksums-{{ .Version }}.txt'
snapshot:
name_template: "{{ .Tag }}-next"
name_template: "{{ .Version }}-next"
changelog:
sort: asc
filters:
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
News
====
- **2019-10-19:** BitWrk 0.6.5 is a preview of a feature that allows much faster transmission of work data
to multiple sellers. This version is supposed to be the last version with support for Blender 2.79.
- **2018-04-22:** BitWrk 0.6.4 fixes bugs and provides UI for local GPU rendering
- **2017-12-03:** BitWrk 0.6.3 enables support for Blender 2.79
- **2017-05-23:** BitWrk 0.6.2 fixes a bug that prevented local network rendering from working when the
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ BitWrk provides a service to both groups by connecting them in an easy-to-use wa
Status
------

As of version 0.6.4:
As of version 0.6.5:
- BitWrk concentrates on the use case of providing peer-to-peer rendering for [Blender](http://blender.org),
the free rendering software, into which it integrates by use of an add-on. Local network and swarm rendering
can be combined. GPU rendering is supported, too.
Expand Down
2 changes: 1 addition & 1 deletion bitwrk-blender/render_bitwrk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"name": "BitWrk Distributed Rendering",
"description": "A peer-to-peer rendering service",
"author": "Jonas Eschenburg",
"version": (0, 6, 4),
"version": (0, 6, 5),
"blender": (2, 76, 0),
"category": "Render",
}
Expand Down
2 changes: 2 additions & 0 deletions client/cmd/bitwrk-client/client_main.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ var BitwrkUrl string
var TrustedAccount string

func main() {
log.Printf("bitwrk-client %v %v", ClientVersion, CommitSHA)
protocol.BitwrkUserAgent = "BitWrkGoClient/" + ClientVersion

flags := flag.NewFlagSet("bitwrk-client", flag.ExitOnError)
flags.StringVar(&ExternalAddress, "extaddr", "auto",
"IP address or name this host can be reached under from the internet")
Expand Down
3 changes: 2 additions & 1 deletion client/cmd/bitwrk-client/client_version.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
package main

const ClientVersion = "0.6.4"
var ClientVersion = "devel"
var CommitSHA = ""
18 changes: 8 additions & 10 deletions documentation/preparing_releases.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,15 @@ Git operations
- Push tag:
git push origin vx.y.z

Creating a source tarball
-------------------------
Use "git-archive-all" to prepare the tarballs, because github's tarballs don't include
the submodules (cafs, bitwrk-common)
Building using GoReleaser
-------------------------
Beginning with BitWrk 0.6.5, releases are built using [GoReleaser](http://goreleaser.com).
All three platforms are built using this command:

# git-archive-all can be cloned from github like this:
# git clone https://github.com/Kentzo/git-archive-all.git
git-archive-all --prefix bitwrk-x.y.z/ ../bitwrk-x.y.z.tar.gz
# repeat for .zip

Now upload both .tar.gz and .zip to github, associate with release.
# Build a snapshot version
goreleaser --snapshot --skip-publish --rm-dist
# Build a final version
goreleaser --skip-publish --rm-dist

Compiling for Mac OS X
----------------------
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion share/bitwrk-client/info.json → resources/info.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"info": "bitwrk-client resource files",
"version": "0.6.4"
"version": "0.6.5"
}

File renamed without changes.
4 changes: 2 additions & 2 deletions server/server_motd.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// BitWrk - A Bitcoin-friendly, anonymous marketplace for computing power
// Copyright (C) 2014-2017 Jonas Eschenburg <[email protected]>
// Copyright (C) 2014-2019 Jonas Eschenburg <[email protected]>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -58,7 +58,7 @@ func getMessageOfTheDay(r *http.Request) motd {

const currentMajor = 0
const currentMinor = 6
const currentMicro = 4
const currentMicro = 5

if major > currentMajor || major == currentMajor && (minor > currentMinor || minor == currentMinor && micro >= currentMicro) {
return motd{fmt.Sprintf("Welcome to the BitWrk network!"+
Expand Down

0 comments on commit 5e24079

Please sign in to comment.