From 454524dd73ac9dd01f20725e7250287ddba5f308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Wala?= Date: Fri, 17 Mar 2023 12:11:44 +0100 Subject: [PATCH] Fix CI job responsible for publishin to hex --- .circleci/config.yml | 14 +++++++++++--- README.md | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 597eddb..e7e65ef 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,9 +20,16 @@ workflows: version: 2 build: jobs: - - elixir/build_test - - test - - elixir/lint + - elixir/build_test: + filters: &filters + tags: + only: /v.*/ + - test: + filters: + <<: *filters + - elixir/lint: + filters: + <<: *filters - elixir/hex_publish: requires: - elixir/build_test @@ -35,3 +42,4 @@ workflows: ignore: /.*/ tags: only: /v.*/ + diff --git a/README.md b/README.md index 5fbc874..4730332 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Jellyfish Elixir Server SDK [![Hex.pm](https://img.shields.io/hexpm/v/jellyfish_server_sdk.svg)](https://hex.pm/packages/jellyfish_server_sdk) -[![API Docs](https://img.shields.io/badge/api-docs-yellow.svg?style=flat)](https://hexdocs.pm/jellyfish_server_sdk) +[![API Docs](https://img.shields.io/badge/api-docs-yellow.svg?style=flat)](https://hexdocs.pm/jellyfish_server_sdk/) [![codecov](https://codecov.io/gh/jellyfish-dev/server_sdk_elixir/branch/master/graph/badge.svg?token=ByIko4o5U8)](https://codecov.io/gh/jellyfish-dev/server_sdk_elixir) [![CircleCI](https://circleci.com/gh/jellyfish-dev/server_sdk_elixir.svg?style=svg)](https://circleci.com/gh/jellyfish-dev/server_sdk_elixir)