From 3bde55cd5528c6fc006d2fdd6ad5364249278bd9 Mon Sep 17 00:00:00 2001 From: Philipp Gille Date: Sun, 13 May 2018 17:03:15 +0200 Subject: [PATCH] Release v0.2.1 --- RELEASES.md | 3 +++ VERSION | 2 +- build/build.sh | 2 +- docs/README.md | 2 +- homebrew/serve.rb | 5 +++-- scoop/serve.json | 5 +++-- serve.go | 2 +- snap/snapcraft.yaml | 4 ++-- 8 files changed, 15 insertions(+), 10 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index c6f62c0..35e3952 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -8,6 +8,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a vNext ----- +v0.2.1 (2018-05-13) +------------------- + - Improved: Increased interface table width to 80 for long interface names - Fixed: No suggested URL in several cases ([issue #7](https://github.com/philippgille/serve/issues/7)) - Fixed: Snap package doesn't work ([issue #14](https://github.com/philippgille/serve/issues/14)) diff --git a/VERSION b/VERSION index 341cf11..7dff5b8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.0 \ No newline at end of file +0.2.1 \ No newline at end of file diff --git a/build/build.sh b/build/build.sh index 7f4552c..a592f86 100755 --- a/build/build.sh +++ b/build/build.sh @@ -41,7 +41,7 @@ fi declare -a arr=("Windows" "macOS" "Linux") for MYOS in "${arr[@]}" do - # Sleep to prevent: tar: serve_v0.2.0_macOS_x64: file changed as we read it + # Sleep to prevent: tar: serve_v0.2.1_macOS_x64: file changed as we read it sleep 1s tar -czf "${ARTIFACTSDIR}/serve_v${VERSION}_${MYOS}_x64.tar.gz" -C "${ARTIFACTSDIR}" "serve_v${VERSION}_${MYOS}_x64" done diff --git a/docs/README.md b/docs/README.md index cb7ff5d..bab8335 100644 --- a/docs/README.md +++ b/docs/README.md @@ -23,7 +23,7 @@ Follow these steps manually, or jump below for the PowerShell commands: - Create a function that calls the binary in your shell's profile - The PowerShell profile is located at `$profile` - Example: `C:\Users\John\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1` - - Example function: `function serve { $env:USERPROFILE\Downloads\serve_v0.2.0_Windows_x64\serve.exe $args }` + - Example function: `function serve { $env:USERPROFILE\Downloads\serve_v0.2.1_Windows_x64\serve.exe $args }` - Don't forget to load your profile afterwards with `. $profile` As PowerShell commands: diff --git a/homebrew/serve.rb b/homebrew/serve.rb index b0dccd3..4fdb16b 100644 --- a/homebrew/serve.rb +++ b/homebrew/serve.rb @@ -1,8 +1,9 @@ class Serve < Formula desc "`serve` starts a simple temporary static file server in your current directory and prints your IP address to share with colleagues" homepage "https://github.com/philippgille/serve" - url "https://github.com/philippgille/serve/releases/download/v0.2.0/serve_v0.2.0_macOS_x64.zip" - version "0.2.0" + url "https://github.com/philippgille/serve/releases/download/v0.2.1/serve_v0.2.1_macOS_x64.zip" + sha256 "5C4FEDEA1D6DB0F59DFFFA60986B3E12B4DDD64CDDF9394E15CA94F5635B9FE8" + version "0.2.1" bottle :unneeded diff --git a/scoop/serve.json b/scoop/serve.json index 36ff7a5..113e766 100644 --- a/scoop/serve.json +++ b/scoop/serve.json @@ -1,8 +1,9 @@ { - "version": "0.2.0", - "url": "https://github.com/philippgille/serve/releases/download/v0.2.0/serve_v0.2.0_Windows_x64.zip", + "version": "0.2.1", + "url": "https://github.com/philippgille/serve/releases/download/v0.2.1/serve_v0.2.1_Windows_x64.zip", "bin": "serve.exe", "homepage": "https://github.com/philippgille/serve", + "hash": "1CEF8B0D6CE7F8F4E2116F5471D1B299B6852AF109B8E6F397C70FFC2C37A910", "checkver": { "github": "https://github.com/philippgille/serve" }, diff --git a/serve.go b/serve.go index 4ce6368..be124e6 100644 --- a/serve.go +++ b/serve.go @@ -29,7 +29,7 @@ import ( // Increment and remove "+" in release commits. // Add "+" after release commits. -const version = "v0.2.0" +const version = "v0.2.1" // Flags in alphabetical order, just like "-h" prints them var ( diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 4bad5e9..6bd49ac 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: serve -version: "0.2.0" +version: "0.2.1" summary: serve starts a simple temporary static file server in your current directory # 79 char long summary description: | serve starts a simple temporary static file server in your current directory @@ -28,7 +28,7 @@ parts: # and also leads to reproducable builds thanks to the tag. source: https://github.com/philippgille/serve.git source-depth: 1 - source-tag: v0.2.0 + source-tag: v0.2.1 apps: serve: