From a16ae195c7c517cc0411064623de6f41836827be Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 20 Jul 2021 13:40:02 +0000 Subject: [PATCH] chore(release): 0.8.0 [skip ci] # [0.8.0](https://github.com/algolia/algoliasearch-crawler-github-actions/compare/v0.7.3...v0.8.0) (2021-07-20) ### Features * automatic crawler name ([#24](https://github.com/algolia/algoliasearch-crawler-github-actions/issues/24)) ([d6861c2](https://github.com/algolia/algoliasearch-crawler-github-actions/commit/d6861c20f5ca277178bcc79f301150d7c67e0ab8)) --- CHANGELOG.md | 7 +++++++ build/index.js | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index abe6bf57..5aa965bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [0.8.0](https://github.com/algolia/algoliasearch-crawler-github-actions/compare/v0.7.3...v0.8.0) (2021-07-20) + + +### Features + +* automatic crawler name ([#24](https://github.com/algolia/algoliasearch-crawler-github-actions/issues/24)) ([d6861c2](https://github.com/algolia/algoliasearch-crawler-github-actions/commit/d6861c20f5ca277178bcc79f301150d7c67e0ab8)) + ## [0.7.3](https://github.com/algolia/algoliasearch-crawler-github-actions/compare/v0.7.2...v0.7.3) (2021-07-19) diff --git a/build/index.js b/build/index.js index faa9c48e..ec9143fa 100644 --- a/build/index.js +++ b/build/index.js @@ -402,8 +402,8 @@ var CRAWLER_USER_ID = core.getInput('crawler-user-id'); var CRAWLER_API_KEY = core.getInput('crawler-api-key'); var CRAWLER_API_BASE_URL = core.getInput('crawler-api-base-url'); var GITHUB_TOKEN = core.getInput('github-token'); -var CRAWLER_NAME = core.getInput('crawler-name').replace(/[ /]/g, '-'); -var INDEX_NAME = CRAWLER_NAME.replace(/[/~,[\]`&|;$*\\]/g, ''); +var CRAWLER_NAME = core.getInput('crawler-name'); +var INDEX_NAME = CRAWLER_NAME.replace(/[ /]/g, '-').replace(/[/~,[\]`&|;$*\\]/g, ''); var ALGOLIA_APP_ID = core.getInput('algolia-app-id'); var ALGOLIA_API_KEY = core.getInput('algolia-api-key'); var SITE_URL = core.getInput('site-url'); diff --git a/package.json b/package.json index 8ed46a7a..95cc1d35 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "algoliasearch-crawler-github-actions", - "version": "0.7.3", + "version": "0.8.0", "description": "Github action for Algolia crawler indexing", "main": "index.js", "scripts": {