Skip to content

Commit

Permalink
Release v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
icyleaf committed Dec 21, 2020
1 parent 32dfc9b commit 83785b5
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 18 deletions.
34 changes: 19 additions & 15 deletions .circleci/config.yml
Expand Up @@ -23,21 +23,25 @@ jobs:
- run:
name: "Build API documents"
command: |
COMMIT_HASH=$(git rev-parse --short HEAD)
COMMIT_DATE=$(git log -1 --format=%ci)
COMMIT_STATUS="[${COMMIT_HASH}](https://${GH_REF}/commit/${COMMIT_HASH})"
sed -i -e "s/latest commit/$(echo ${COMMIT_STATUS} | sed -e "s/\//\\\\\//g") (${COMMIT_DATE})/" README.md
crystal doc
if [[ "${CIRCLE_BRANCH}" == "master" ]] && [[ ! "${CIRCLE_PR_NUMBER}" ]]; then
COMMIT_HASH=$(git rev-parse --short HEAD)
COMMIT_DATE=$(git log -1 --format=%ci)
COMMIT_STATUS="[${COMMIT_HASH}](https://${GH_REF}/commit/${COMMIT_HASH})"
sed -i -e "s/latest commit/$(echo ${COMMIT_STATUS} | sed -e "s/\//\\\\\//g") (${COMMIT_DATE})/" README.md
crystal doc
fi
- deploy:
name: "Upload to gh-page"
command: |
git config --global user.name "$GIT_USER"
git config --global user.email "$GIT_EMAIL"
cd ${DOCS_PATH}
git init
git remote add origin $GIT_REPO
git fetch origin
git reset origin/gh-pages
git add -A .
git commit --allow-empty -m "Updating documents via ${COMMIT_HASH}"
git push origin HEAD:gh-pages
if [[ "${CIRCLE_BRANCH}" == "master" ]] && [[ ! "${CIRCLE_PR_NUMBER}" ]]; then
git config --global user.name "$GIT_USER"
git config --global user.email "$GIT_EMAIL"
cd ${DOCS_PATH}
git init
git remote add origin $GIT_REPO
git fetch origin
git reset origin/gh-pages
git add -A .
git commit --allow-empty -m "Updating documents via ${COMMIT_HASH}"
git push origin HEAD:gh-pages
fi
19 changes: 18 additions & 1 deletion CHANGELOG.md
Expand Up @@ -9,6 +9,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

> TODO
## [0.6.0] (2020-12-21)

### Added

- Add custom attributes for users, projects and groups [#32](https://github.com/icyleaf/gitlab.cr/issues/32) [#37](https://github.com/icyleaf/gitlab.cr/issues/37) (thanks @[mipmip](https://github.com/mipmip))
- Add authenticating with a key by figerprint [#36](https://github.com/icyleaf/gitlab.cr/issues/36) (thanks @[mipmip](https://github.com/mipmip))
- Add poroject pages domain [#31](https://github.com/icyleaf/gitlab.cr/issues/31) (thanks @[mipmip](https://github.com/mipmip))

### Changed

- Change delete behaviour since Gitlab 9.0 [#33](https://github.com/icyleaf/gitlab.cr/issues/33) (thanks @[mipmip](https://github.com/mipmip))

### Fixed

- Compatibility with Crystal 0.30, Test passed 0.31

## [0.5.0] (2019-05-20)

### Fixed
Expand Down Expand Up @@ -113,7 +129,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

- [initial implementation](https://github.com/icyleaf/gitlab.cr/issues?q=milestone%3A0.2.0+is%3Aclosed)

[Unreleased]: https://github.com/icyleaf/gitlab.cr/compare/v0.5.0...HEAD
[Unreleased]: https://github.com/icyleaf/gitlab.cr/compare/v0.6.0...HEAD
[0.6.0]: https://github.com/icyleaf/gitlab.cr/compare/v0.5.0...v0.6.0
[0.5.0]: https://github.com/icyleaf/gitlab.cr/compare/v0.4.0...v0.5.0
[0.4.0]: https://github.com/icyleaf/gitlab.cr/compare/v0.3.5...v0.4.0
[0.3.5]: https://github.com/icyleaf/gitlab.cr/compare/v0.3.4...v0.3.5
Expand Down
2 changes: 1 addition & 1 deletion shard.yml
@@ -1,5 +1,5 @@
name: gitlab
version: 0.5.0
version: 0.6.0

dependencies:
halite:
Expand Down
2 changes: 1 addition & 1 deletion src/gitlab.cr
@@ -1,7 +1,7 @@
require "./gitlab/**"

module Gitlab
VERSION = "0.5.0"
VERSION = "0.6.0"

# Alias for Gitlab::Client.new
def self.client(endpoint : String, token : String) : Client
Expand Down

0 comments on commit 83785b5

Please sign in to comment.