From 102e00fa03fe3fff0d26f20d0f20e4916c5a9472 Mon Sep 17 00:00:00 2001 From: Nico Bachner Date: Thu, 19 Nov 2020 21:27:00 +0100 Subject: [PATCH] upgraded to version 0.1.0 --- brew/md-paper.rb | 2 +- package.json | 18 ------------------ src/md-paper.sh | 2 ++ 3 files changed, 3 insertions(+), 19 deletions(-) delete mode 100644 package.json diff --git a/brew/md-paper.rb b/brew/md-paper.rb index 488cb1a..91bbfa5 100644 --- a/brew/md-paper.rb +++ b/brew/md-paper.rb @@ -1,7 +1,7 @@ class MdPaper < Formula desc "Generates scientific papers written in Markdown" homepage "https://md-paper.now.sh" - url "https://github.com/nico-bachner/md-paper/archive/v0.0.6.tar.gz" + url "https://github.com/nico-bachner/md-paper/archive/v0.1.0.tar.gz" sha256 "82e87b66d852c178c569d0dd0a6d086c31ea8f4c5d6ed5b082e424feccef238f" license "MIT" diff --git a/package.json b/package.json deleted file mode 100644 index c148328..0000000 --- a/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "md-paper", - "version": "0.0.5", - "description": "Opinionated cli tool to generate scientific papers written in Markdown", - "scripts": { - "md-paper": "md-paper.sh" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/nico-bachner/md-paper.git" - }, - "author": "Nico Bachner", - "license": "MIT", - "bugs": { - "url": "https://github.com/nico-bachner/md-paper/issues" - }, - "homepage": "https://md-paper.now.sh" -} diff --git a/src/md-paper.sh b/src/md-paper.sh index 8b17a4f..e29fe44 100755 --- a/src/md-paper.sh +++ b/src/md-paper.sh @@ -1,5 +1,7 @@ #!/bin/sh +version="0.1.0" + if brew ls --versions md-paper >/dev/null then version=$(brew ls --versions md-paper | cut -c 10-)