Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base: b9354b42e3
...
compare: 8aa845ac0d
  • 5 commits
  • 4 files changed
  • 0 commit comments
  • 1 contributor
Showing with 58 additions and 23 deletions.
  1. +13 −0 RELEASE_NOTES
  2. +1 −3 lib/gedcom.js
  3. +20 −20 package.json
  4. +24 −0 release.sh
View
13 RELEASE_NOTES
@@ -0,0 +1,13 @@
+v0.0.1
+ * [8cbaf06] removed version from gedcom lib so npm version matches. rolled back version and fixed script to use npm.
+ * [cf3e3b4] 0.0.2.
+ * [29fb0ef] working on a release script. fixed json bugs in package.json.
+ * [b9354b4] added comments to show what was referenced.
+ * [eef19d3] renamed README to put markdown postfix.
+ * [a948ff1] renamed README to put markdown postfix.
+ * [9f0c0f0] added more details to package.json. Added a README file.
+ * [04c8cf9] Fixed bug where simplify removed id.
+ * [579e183] reformated code.
+ * [f59f22a] made the formatLine return a new Row class obj rather than new obj each time. removed unused variables and added method to removed unneeded data points after parsing.
+ * [adc6b05] first draft at parsing gedcom files.
+
View
4 lib/gedcom.js
@@ -1,8 +1,7 @@
(function () {
"use strict";
- var VERSION = '0.0.1',
- Lazy = require('lazy'),
+ var Lazy = require('lazy'),
fs = require('fs'),
Gedcom = {
parse: function (file, cb) {
@@ -99,5 +98,4 @@
/* Exports
/*************************************/
module.exports = Gedcom;
- module.exports.VERSION = VERSION;
})();
View
40 package.json
@@ -1,22 +1,22 @@
{
- "name": "gedcom",
- "description": "Gedcom parser",
- "version": "0.0.1"
- "main": "lib/gedcom.js",
- "dependencies": {
- "lazy": "1.0.8"
- },
- "homepage": "https://github.com/dcapwell/gedcom.js",
- "keywords": [
- "gedcom",
- "parser",
- "genealogy"
- ],
- "repository": {
- "type": "git",
- "url": "https://github.com/dcapwell/gedcom.js"
- },
- "bugs": {
- "url": "https://github.com/dcapwell/gedcom.js/issues"
- },
+ "name": "gedcom",
+ "description": "Gedcom parser",
+ "version": "0.0.2",
+ "main": "lib/gedcom.js",
+ "dependencies": {
+ "lazy": "1.0.8"
+ },
+ "homepage": "https://github.com/dcapwell/gedcom.js",
+ "keywords": [
+ "gedcom",
+ "parser",
+ "genealogy"
+ ],
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/dcapwell/gedcom.js"
+ },
+ "bugs": {
+ "url": "https://github.com/dcapwell/gedcom.js/issues"
+ }
}
View
24 release.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+FILE=RELEASE_NOTES
+TMP_FILE=${FILE}.tmp
+NAME=$(cat package.json | grep name | sed -e "s/.*name.*\"\(.*\)\",/\1/")
+VERSION=$(cat package.json | grep version | sed -e "s/.*version.*\"\(.*\)\",/\1/")
+TAG=v$VERSION
+
+echo "$TAG" > ${TMP_FILE}
+git describe --abbrev=0 2> /dev/null 1> /dev/null \
+ && git log --pretty="%x09* [%h] %s." $(git describe --abbrev=0)..HEAD >> ${TMP_FILE} \
+ || git log --pretty="%x09* [%h] %s." >> ${TMP_FILE}
+
+echo "" >> ${TMP_FILE}
+
+if [ -e $FILE ]; then
+ cat ${FILE} >> ${TMP_FILE}
+fi
+
+mv ${TMP_FILE} $FILE
+
+git add $FILE
+git commit -a -m "[release-script] Updated release notes for version ${VERSION}"
+npm version patch -m "[auto-release] version %s"

No commit comments for this range

Something went wrong with that request. Please try again.