Skip to content

Commit

Permalink
next
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanessa McHale committed Nov 6, 2017
1 parent 648556c commit 1432339
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tokei:
tokei . .*.yml .*.yaml .yamllint -e Justfile

next:
@export VERSION=$(cat madlang.cabal | grep -P -o '\d+\.\d+\.\d+\.\d+' madlang.cabal | head -n1 | awk -F. '{$NF+=1; print $0}' | sed 's/ /\./g') && echo $VERSION && sed -i "2s/[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+/$VERSION/" madlang.cabal
@export VERSION=$(ac madlang.cabal | grep -P -o '\d+\.\d+\.\d+\.\d+' madlang.cabal | head -n1 | awk -F. '{$NF+=1; print $0}' | sed 's/ /\./g') && echo $VERSION && sed -i "2s/[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+/$VERSION/" madlang.cabal
git commit -am "next"
sn c .

Expand Down Expand Up @@ -63,7 +63,7 @@ install:
cp $(fd 'madlang$' -I | tail -n1) ~/.local/bin

name:
github-release edit -s $(cat ~/.git-token) -u vmchale -r madlang -n "$(madlang run ~/programming/madlang/releases/releases.mad)" -t "$(grep -P -o '\d+\.\d+\.\d+\.\d+' madlang.cabal | head -n1)"
github-release edit -s $(ac ~/.git-token) -u vmchale -r madlang -n "$(madlang run ~/programming/madlang/releases/releases.mad)" -t "$(grep -P -o '\d+\.\d+\.\d+\.\d+' madlang.cabal | head -n1)"

clean:
sn c . -g
Expand Down
2 changes: 1 addition & 1 deletion madlang.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: madlang
version: 3.1.1.18
version: 3.1.1.19
synopsis: Randomized templating language DSL
description: Madlang is a text templating language written in Haskell,
meant to explore computational creativity and generative
Expand Down

0 comments on commit 1432339

Please sign in to comment.