Commit 34ee0464 authored by nimrod's avatar nimrod
Browse files

Some git scripts work.

- git skel alias. Maintain a skeleton directory and the alias copies
  them over and adds them. For now, Markdown and reStructuredText README
files, a .gitignore and a starting VERSION file.
- Nicer commit messages with git-bump.
- git-license to generate a LICENSE.txt file and add it.
parent df596040
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
../ignore
 No newline at end of file
+12 −0
Original line number Diff line number Diff line
# PROJECT_NAME

## License

This software is licensed under the MIT license (see `LICENSE.txt`).

## Author Information

Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my
[website](https://www.shore.co.il/). Patches are welcome via
[`git send-email`](http://git-scm.com/book/en/v2/Git-Commands-Email). The repository
is located at: <https://git.shore.co.il/explore/>.
+16 −0
Original line number Diff line number Diff line
PROJECT_NAME
############

License
-------

This software is licensed under the AGPL 3+ license (see the :code:`LICENSE.txt`
file).

Author
------

Nimrod Adar, `contact me <nimrod@shore.co.il>`_ or visit my `website
<https://www.shore.co.il/>`_. Patches are welcome via `git send-email
<http://git-scm.com/book/en/v2/Git-Commands-Email>`_. The repository is located
at: https://git.shore.co.il/nimrod/.
+1 −0
Original line number Diff line number Diff line
0.1.0
+3 −0
Original line number Diff line number Diff line
#!/bin/sh
set -eu

OLD_VERSION="$(cat VERSION)"
semver-bump "$1-release"
NEW_VERSION="$(cat VERSION)"
git commit VERSION -m "Bumped $1 version."
git commit --only VERSION --message "Bump version: $OLD_VERSION$NEW_VERSION"
git tag-version
git push --follow-tags
Loading