diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 109d92f..5a3bf1c 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -41,7 +41,7 @@ Example: ### Info Example: -> - Version: 0.3.1 +> - Version: 0.3.2 > - Operating system: Ubuntu 16.04 ### Possible solution diff --git a/README.md b/README.md index fe64ea5..6f5596a 100644 --- a/README.md +++ b/README.md @@ -206,7 +206,7 @@ So now you can only build the Snap package on Linux, using the following steps: 1. `snap install snapcraft --classic` 2. `snapcraft` -Depending on the current `serve` version and your CPU's architecture it will create a file like `serve_0.3.1_amd64.snap`, which can manually be installed with `snap install --dangerous serve_0.3.1_amd64.snap`. +Depending on the current `serve` version and your CPU's architecture it will create a file like `serve_0.3.2_amd64.snap`, which can manually be installed with `snap install --dangerous serve_0.3.2_amd64.snap`. The Chocolatey packages need to be uploaded manually to Chocolatey [here](https://chocolatey.org/packages/upload). The package can be built with this script: diff --git a/RELEASES.md b/RELEASES.md index 1889943..97ca29a 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -8,6 +8,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a vNext ----- +v0.3.2 (2019-07-20) +------------------- + +> Note: Windows and Linux users who have `serve` v0.3.0 don't need to update to this version, because it only fixes a bug in v0.3.1 and v0.3.1 only contained a bugfix for macOS. + - Fixed: serve v0.3.1 reports version v0.3.0 when using `serve -v` v0.3.1 (2019-07-20) diff --git a/VERSION b/VERSION index a2268e2..9fc80f9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.1 \ No newline at end of file +0.3.2 \ No newline at end of file diff --git a/build/build.sh b/build/build.sh index 58ad3f9..7a31dbc 100755 --- a/build/build.sh +++ b/build/build.sh @@ -42,7 +42,7 @@ fi declare -a arr=("Windows" "macOS" "Linux") for MYOS in "${arr[@]}" do - # Sleep to prevent: tar: serve_v0.3.1_macOS_x64: file changed as we read it + # Sleep to prevent: tar: serve_v0.3.2_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/chocolatey/serve.nuspec b/chocolatey/serve.nuspec index f98b22e..6b828ed 100644 --- a/chocolatey/serve.nuspec +++ b/chocolatey/serve.nuspec @@ -9,7 +9,7 @@ - 0.3.1 + 0.3.2 `serve` starts a simple temporary static file server in your current directory and prints your IP address to share with colleagues Philipp Gillé @@ -45,7 +45,7 @@ - + diff --git a/chocolatey/serve.portable.nuspec b/chocolatey/serve.portable.nuspec index 5bfeee3..a1e17cb 100644 --- a/chocolatey/serve.portable.nuspec +++ b/chocolatey/serve.portable.nuspec @@ -9,7 +9,7 @@ - 0.3.1 + 0.3.2 `serve` starts a simple temporary static file server in your current directory and prints your IP address to share with colleagues Philipp Gillé diff --git a/chocolatey/tools/VERIFICATION.txt b/chocolatey/tools/VERIFICATION.txt index 0e375d8..053ee69 100644 --- a/chocolatey/tools/VERIFICATION.txt +++ b/chocolatey/tools/VERIFICATION.txt @@ -4,4 +4,4 @@ in verifying that this package's contents are trustworthy. I'm the author of the software, but if further verification is necessary you can create a SHA256 checksum of the binary file in this package. It should match the ones in https://github.com/philippgille/serve/releases. -For example, when this NuGet package is version 0.3.1, you can create a SHA256 checksum of serve.exe and check if it matches https://github.com/philippgille/serve/releases/download/v0.3.1/serve_v0.3.1_Windows_x64.exe.sha256. +For example, when this NuGet package is version 0.3.2, you can create a SHA256 checksum of serve.exe and check if it matches https://github.com/philippgille/serve/releases/download/v0.3.2/serve_v0.3.2_Windows_x64.exe.sha256. diff --git a/docs/README.md b/docs/README.md index 0ee4e9c..dcd78a3 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.3.1_Windows_x64\serve.exe $args }` + - Example function: `function serve { $env:USERPROFILE\Downloads\serve_v0.3.2_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 f12f4f4..1122cdc 100644 --- a/homebrew/serve.rb +++ b/homebrew/serve.rb @@ -1,9 +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.3.1/serve_v0.3.1_macOS_x64.zip" - sha256 "0F1D2282EE88C081C8AF4C397182B5859B8FBF32100B33EC835F454275371002" - version "0.3.1" + url "https://github.com/philippgille/serve/releases/download/v0.3.2/serve_v0.3.2_macOS_x64.zip" + sha256 "E9C4910E82A3F407E0EAE19AABEB30ED8376F432B7811F9D2A2C2721054CF1D4" + version "0.3.2" bottle :unneeded diff --git a/scoop/serve.json b/scoop/serve.json index 88bac2a..2318442 100644 --- a/scoop/serve.json +++ b/scoop/serve.json @@ -1,10 +1,10 @@ { - "version": "0.3.1", - "url": "https://github.com/philippgille/serve/releases/download/v0.3.1/serve_v0.3.1_Windows_x64.zip", + "version": "0.3.2", + "url": "https://github.com/philippgille/serve/releases/download/v0.3.2/serve_v0.3.2_Windows_x64.zip", "bin": "serve.exe", "homepage": "https://github.com/philippgille/serve", "description": "Starts a simple temporary static file server in your current directory and prints your IP address to share with colleagues", - "hash": "808ED94240EA381236DC878929603D0B41DB5668A37AD279469A11BAF0F4807F", + "hash": "AB8E274C2E1144440A15DD0C78BB6385084439C94F85C1413739B2C8E7C8D6BA", "checkver": { "github": "https://github.com/philippgille/serve" }, diff --git a/serve.go b/serve.go index 1f4615e..4baea8b 100644 --- a/serve.go +++ b/serve.go @@ -36,7 +36,7 @@ import ( // Increment and remove "+" in release commits. // Add "+" after release commits. -const version = "v0.3.1" +const version = "v0.3.2" // Flags in alphabetical order, just like "-h" prints them var ( diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index d0112fe..ea90d3b 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: serve -version: "0.3.1" +version: "0.3.2" # The summary must not exceed 78 characters. summary: serve starts a simple temporary static file server in your current directory description: | @@ -47,7 +47,7 @@ parts: # Either use a source-depth of 1 for the latest commit, OR a source-tag source-depth: 1 source-branch: master - #source-tag: v0.3.1 + #source-tag: v0.3.2 apps: serve: