From 2907bb3016b6fdf3c21d936360780cdb3a87d621 Mon Sep 17 00:00:00 2001 From: joce Date: Fri, 7 Jan 2022 09:26:46 -0500 Subject: [PATCH] Fix version number to 1.0.0 where needed The SHA1 still needs to be updated in the `homebrew\mop.rb` file. Also, accepting these changes might entails that version will now be 1.0.1. Update accordingly. --- Makefile | 2 +- cmd/mop/main.go | 2 +- homebrew/mop.rb | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4f069ad..e75486e 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ # Use of this source code is governed by a MIT-style license that can # be found in the LICENSE file. -VERSION = 0.2.0 +VERSION = 1.0.0 PACKAGE = ./cmd/mop run: diff --git a/cmd/mop/main.go b/cmd/mop/main.go index b36cdd6..00eb8bf 100644 --- a/cmd/mop/main.go +++ b/cmd/mop/main.go @@ -17,7 +17,7 @@ import ( // File name in user's home directory where we store the settings. const defaultProfile = `.moprc` -const help = `Mop v0.2.0 -- Copyright (c) 2013-2016 by Michael Dvorkin. All Rights Reserved. +const help = `Mop v1.0.0 -- Copyright (c) 2013-2022 by Michael Dvorkin. All Rights Reserved. NO WARRANTIES OF ANY KIND WHATSOEVER. SEE THE LICENSE FILE FOR DETAILS. Command Description diff --git a/homebrew/mop.rb b/homebrew/mop.rb index b4c91a5..57a4850 100644 --- a/homebrew/mop.rb +++ b/homebrew/mop.rb @@ -3,8 +3,8 @@ require "formula" class Mop < Formula homepage "https://github.com/mop-tracker/mop" head "https://github.com/mop-tracker/mop.git" - url "https://github.com/mop-tracker/mop/archive/v0.2.0.tar.gz" - sha1 "bc666ec165d08b43134f7ec0bf29083ad5466243" + url "https://github.com/mop-tracker/mop/archive/refs/tags/v1.0.0.tar.gz" + sha1 "bc666ec165d08b43134f7ec0bf29083ad5466243" # Needs updating. depends_on "go" => :build