Skip to content

Commit c3ff9f4

Browse files
committed
Produce a "tagged commit"
Looks like the tag needs to be present before the Travis build runs.
1 parent bfee0a1 commit c3ff9f4

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

.travis.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ cache:
99
- $HOME/.stack/
1010

1111
before_install:
12-
- |
13-
if git tag | grep '^v'$(./automation/version.sh hack-assembler.cabal)'$'
14-
then
15-
echo 'Error: version needs to be bumped; a tag for this version already exists'
16-
false # Fail fast
17-
fi
1812
- brew update --verbose
1913
- brew list --verbose haskell-stack || brew install --verbose haskell-stack
2014

@@ -28,8 +22,6 @@ script:
2822
- stack --no-terminal test
2923

3024
before_deploy:
31-
- git tag -a v$(./automation/version.sh hack-assembler.cabal) -m 'Auto-tagging during Travis build'
32-
- git push --tags
3325
- stack sdist
3426

3527
deploy:

hack-assembler.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: hack-assembler
2-
version: 0.1.0.0
2+
version: 0.1.0.1
33
synopsis: An assembler for the Hack language
44
description: A coursework project for nand2tetris
55
homepage: https://github.com/easoncxz/hack-assembler

0 commit comments

Comments
 (0)