Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Commit

Permalink
📦 1.0.7 (#284)
Browse files Browse the repository at this point in the history
remove archived versions, add release script
  • Loading branch information
jgravois committed Oct 17, 2016
1 parent 118d7c9 commit 23e493c
Show file tree
Hide file tree
Showing 12 changed files with 54 additions and 31 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -17,6 +17,9 @@ docs-build
examples/node/timezone/tz_world
examples/node/npm-debug.log

# dont check built code into source control
terraformer.min.js

# Mac
.DS_Store
Icon
Expand Down
12 changes: 11 additions & 1 deletion CHANGELOG.md
Expand Up @@ -4,6 +4,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).

## [unreleased]


## [1.0.7] - 2016-10-17

### Fixed
* ensure that contains()/within() can compare the geometry of GeoJSON feature objects. [#281](https://github.com/Esri/Terraformer/issues/281)

### Removed
* the minified library and archived versions have been removed from source control

## [1.0.6] - 2016-08-17

### Added
Expand Down Expand Up @@ -54,7 +63,8 @@ primitive.convexHull() now always returns null or a valid Terraformer.Polygon. I

Initial Release

[unreleased]: https://github.com/Esri/Terraformer/compare/v1.0.6...HEAD
[unreleased]: https://github.com/Esri/Terraformer/compare/v1.0.7...HEAD
[1.0.7]: https://github.com/Esri/Terraformer/compare/v1.0.6...v1.0.7
[1.0.6]: https://github.com/Esri/Terraformer/compare/v1.0.5...v1.0.6
[1.0.5]: https://github.com/Esri/Terraformer/compare/v1.0.4...v1.0.5
[1.0.4]: https://github.com/Esri/Terraformer/compare/v1.0.3...v1.0.4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -60,7 +60,7 @@ To utilize supporting packages, you must load their source as well.

## Documentation

Make sure your check out the full documentation on the [Terraformer website](http://terraformer.io/core/) and the [getting started guide](http://terraformer.io/getting-started/).
Make sure you check out the full documentation on the [Terraformer website](http://terraformer.io/core/) and the [getting started guide](http://terraformer.io/getting-started/).

```js
var polygon = new Terraformer.Primitive({
Expand Down
3 changes: 2 additions & 1 deletion package.json
@@ -1,9 +1,10 @@
{
"name": "terraformer",
"version": "1.0.6",
"version": "1.0.7",
"description": "A Geo-toolkit built in Javascript.",
"main": "terraformer.js",
"devDependencies": {
"gh-release": "^2.1.0",
"grunt": "0.4.x",
"grunt-complexity": "~0.1.3",
"grunt-contrib-jasmine": "~0.4.2",
Expand Down
37 changes: 37 additions & 0 deletions release.sh
@@ -0,0 +1,37 @@
#!/bin/bash

# config
VERSION=$(node --eval "console.log(require('./package.json').version);")
NAME=$(node --eval "console.log(require('./package.json').name);")

# build and test
npm test || exit 1

# checkout temp branch for release
git checkout -b gh-release

# run prepublish to build files
grunt uglify

# force add files
git add terraformer.min.js -f

# commit changes with a versioned commit message
git commit -m "build $VERSION"

# push commit so it exists on GitHub when we run gh-release
git push upstream gh-release

# create a copy of the minified library
cp terraformer.min.js $NAME-$VERSION.js

# run gh-release to create the tag and push release to github
gh-release --assets $NAME-$VERSION.js

# checkout master and delete release branch locally and on GitHub
git checkout master
git branch -D gh-release
git push upstream :gh-release

# publish release on NPM
npm publish
4 changes: 0 additions & 4 deletions terraformer.min.js

This file was deleted.

4 changes: 0 additions & 4 deletions versions/terraformer-1.0.0.min.js

This file was deleted.

4 changes: 0 additions & 4 deletions versions/terraformer-1.0.1.min.js

This file was deleted.

4 changes: 0 additions & 4 deletions versions/terraformer-1.0.2.min.js

This file was deleted.

4 changes: 0 additions & 4 deletions versions/terraformer-1.0.3.min.js

This file was deleted.

4 changes: 0 additions & 4 deletions versions/terraformer-1.0.4.min.js

This file was deleted.

4 changes: 0 additions & 4 deletions versions/terraformer-1.0.6.min.js

This file was deleted.

0 comments on commit 23e493c

Please sign in to comment.