Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Commit

Permalink
Make update of version output of linter easier
Browse files Browse the repository at this point in the history
No way I gonna bump the version every time
  • Loading branch information
MartinSpiessl committed Dec 2, 2020
1 parent 43f3fe6 commit 3d58d20
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion lint/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
build:
mkdir -p build/witnesslint
rm -rf build/witnesslint/*
rm -f val_witnesslint.zip
cp README.md build/witnesslint/
cp ../LICENSE build/witnesslint/
cp -r ../LICENSES build/witnesslint/LICENSES
cp witnesslinter.py build/witnesslint/
cp -r witnesslint build/witnesslint/witnesslint
zip -r val_witnesslint.zip witnesslint
echo "$$(git describe --dirty)"
sed -i "s|__version__ = \"DEV\"|__version__ = \"$$(git describe --dirty)\"|g" build/witnesslint/witnesslint/linter.py
cd build && zip -r ../val_witnesslint.zip witnesslint
2 changes: 1 addition & 1 deletion lint/witnesslint/linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
[1]: github.com/sosy-lab/sv-witnesses/blob/master/README.md
"""

__version__ = "1.2"
__version__ = "DEV"

import argparse
import collections
Expand Down

0 comments on commit 3d58d20

Please sign in to comment.