Skip to content

Commit 0c0e7b3

Browse files
committed
Build tagged builds on CI
1 parent e6bc5a3 commit 0c0e7b3

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.circleci/config.yml

+14-3
Original file line numberDiff line numberDiff line change
@@ -64,27 +64,38 @@ jobs:
6464
- deps
6565
publish:
6666
docker:
67-
- image: hexpm/elixir:latest
67+
- image: hexpm/elixir:1.18.2-erlang-27.2.1-alpine-3.21.2
68+
working_directory: ~/repo
69+
environment:
70+
LC_ALL: C.UTF-8
6871
steps:
6972
- checkout
73+
- run: apk add --no-cache build-base linux-headers
74+
- run: mix local.hex --force
7075
- run: mix deps.get
7176
- run: mix hex.publish --yes
7277

7378
workflows:
7479
checks:
7580
jobs:
76-
- check-license
81+
- check-license:
82+
filters:
83+
tags:
84+
only: /.*/
7785
- build-test:
7886
name: << matrix.tag >>
7987
matrix:
8088
parameters:
8189
tag: *tags
90+
filters:
91+
tags:
92+
only: /.*/
8293
- publish:
8394
requires:
8495
- build-test
8596
- check-license
8697
filters:
8798
tags:
88-
only: /^v\d+\.\d+\.\d+$/ # Only version tags
99+
only: /^v.*/
89100
branches:
90101
ignore: /.*/

0 commit comments

Comments
 (0)