Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 15 lines (11 sloc) 0.467 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/bash

## Build an elpa package for slime-ritz.el
## Sets the version number based on the version in package.el

VERSION=$(head -1 project.clj | egrep -o -E "[0-9][0-9a-zA-Z.-]+")
echo "slime-ritz version $VERSION"

dest="slime-ritz-$VERSION"

sed -i .bak \
    -e "s/Version: .*/Version: $VERSION/" \
    src/main/elisp/slime-ritz.el \
&& rm src/main/elisp/slime-ritz.el.bak \
&& echo "src/main/elisp/slime-ritz.el ready for upload to marmalade if required"
Something went wrong with that request. Please try again.