Skip to content

Commit

Permalink
Merge pull request #7 from tamada/release/v0.9.5
Browse files Browse the repository at this point in the history
ci, fix: fix the GitHub Actinos failure
  • Loading branch information
tamada committed Aug 6, 2022
2 parents ceccb76 + 03c02bb commit 16e700d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
make dist
gh release upload ${{ needs.site.outputs.tag }} dist/peripherals-${{ needs.site.outputs.tag }}-darwin-arm64.tar.gz \
gh release upload v${{ needs.site.outputs.tag }} dist/peripherals-${{ needs.site.outputs.tag }}-darwin-arm64.tar.gz \
dist/peripherals-${{ needs.site.outputs.tag }}-darwin-amd64.tar.gz \
dist/peripherals-${{ needs.site.outputs.tag }}-linux-arm64.tar.gz \
dist/peripherals-${{ needs.site.outputs.tag }}-linux-amd64.tar.gz \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GO=go
SHELL=/bin/bash
VERSION := 0.9.4
VERSION := 0.9.5
NAME := peripherals
DIST := $(NAME)-$(VERSION)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# peripheral utility commands

[![License](https://img.shields.io/badge/License-MIT-green)](https://github.com/tamada/peripherals/blob/main/LICENSE)
[![Version](https://img.shields.io/badge/Version-v0.9.4-green)](https://github.com/tamada/btmeister/releases/tag/v0.9.4)
[![Version](https://img.shields.io/badge/Version-v0.9.5-green)](https://github.com/tamada/btmeister/releases/tag/v0.9.5)

peripheral utility commands for the shell by contrasting [GNU coreutils](https://www.gnu.org/software/coreutils/).

Expand Down
2 changes: 1 addition & 1 deletion peripherals.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
)

const VERSION = "0.9.4"
const VERSION = "0.9.5"

func Version(appName string) string {
return fmt.Sprintf("%s version %s", appName, VERSION)
Expand Down
6 changes: 3 additions & 3 deletions peripherals_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package peripherals
import "testing"

func TestVersion(t *testing.T) {
if VERSION != "0.9.4" {
t.Errorf("mismatch version wont %s, but got %s", "0.9.4", VERSION)
if VERSION != "0.9.5" {
t.Errorf("mismatch version wont %s, but got %s", "0.9.5", VERSION)
}
wontVersion := "tamada/peripherals version 0.9.4"
wontVersion := "tamada/peripherals version 0.9.5"
gotVersion := Version("tamada/peripherals")
if wontVersion != gotVersion {
t.Errorf("mismatch version information wont %s, but got %s", wontVersion, gotVersion)
Expand Down

0 comments on commit 16e700d

Please sign in to comment.