Skip to content

Commit

Permalink
prepare to release v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Thanh Nguyen committed Dec 21, 2020
1 parent b1ba8f6 commit 4d69f93
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ Summary of supported SQL statements:

See [supported SQL statements](SQL.md) for details.

> Azure Cosmos DB SQL API currently supports only [SELECT statement](https://docs.microsoft.com/en-us/azure/cosmos-db/sql-query-select).
> `gocosmos` implements other statements by translating the SQL statement to REST API call to [Azure Cosmos DB REST API](https://docs.microsoft.com/en-us/rest/api/cosmos-db/).
## License

MIT - see [LICENSE.md](LICENSE.md).
7 changes: 5 additions & 2 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# gocosmos release notes

## 2020-12-xx - v0.1.0
## 2020-12-21 - v0.1.0

First release:
- REST client for Azure Cosmos DB SQL API.
- REST client for Azure Cosmos DB SQL API:
- Database: `Create`, `Get`, `Delete` and `List`.
- Collection: `Create`, `Replace`, `Get`, `Delete` and `List`.
- Document: `Create`, `Replace`, `Get`, `Delete`, `Query` and `List`.
- Driver for `database/sql`, supported statements:
- Database: `CREATE DATABASE`, `DROP DATABASE`, `LIST DATABASES`
- Collection/Table: `CREATE TABLE/COLLECTION`, `DROP TABLE/COLLECTION`, `LIST TABLES/COLLECTIONS`
Expand Down
16 changes: 16 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh

## Utility script to release project with a tag
## Usage:
## ./release.sh <tag-name>

if [ "$1" == "" ]; then
echo "Usage: $0 tag-name"
exit -1
fi

echo "$1"
git commit -m "$1"
git tag -f -a "$1" -m "$1"
git push origin "$1" -f
git push

0 comments on commit 4d69f93

Please sign in to comment.