Skip to content

Commit

Permalink
Fixed location of version file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jellix committed Jul 19, 2020
1 parent a8b924e commit f202720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tag-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ echo "Latest version number used was \"`git tag --sort=\"creatordate\" | tail -1
confirm "Does that look fine to you?"

# Patch file with new version number
VFILE="src/spat-version.ads"
VFILE="src/app/spat-version.ads"

sed 's/^\(\ \+Number\ \+:\ \+constant\ \+String\ \+:=\ \+\"\)\([0-9a-z.-]*\)\(\";\)/\1'${VERSION_NUMBER}'\3/' $VFILE > $VFILE.new || (echo "Could not patch file. Are you in the root directory?"; exit 4)

Expand Down

0 comments on commit f202720

Please sign in to comment.