create-tag

This commit is contained in:
Mayel de Borniol 2024-04-16 15:12:49 +01:00
parent e442584d44
commit a14d43b96a
3 changed files with 9 additions and 9 deletions

View file

@ -34,7 +34,7 @@ jobs:
id: version
uses: salsify/action-detect-and-tag-new-version@v2
with:
create-tag: true
create-tag: false
version-command: |
grep -m 1 'version:' mix.exs | cut -d '"' -f2
-

View file

@ -122,13 +122,13 @@ jobs:
fetch-depth: 2 # needed for action-detect-and-tag-new-version
- name: Trust my repo
run: export GIT_CEILING_DIRECTORIES=/__w && git config --global --add safe.directory $(realpath .) # see https://github.com/actions/checkout/issues/760
# -
# name: Maybe tag/release new version
# id: version
# uses: salsify/action-detect-and-tag-new-version@v2
# with:
# create-tag: false # tag is already created in another job
# version-command: grep -m 1 'version:' mix.exs | cut -d '"' -f2
-
name: Maybe tag/release new version
id: version
uses: salsify/action-detect-and-tag-new-version@v2
with:
create-tag: true # NOTE: can only create tag here if it's a matrix of 1
version-command: grep -m 1 'version:' mix.exs | cut -d '"' -f2
# -
# if: steps.version.outputs.current-version == steps.version.outputs.previous-version
# name: Cancel workflow if the version has not changed

View file

@ -157,7 +157,7 @@ defmodule Bonfire.Umbrella.MixProject do
# TODO: put these in ENV or an external writeable config file similar to deps.*
@config [
# note that the flavour will automatically be added where the dash appears
version: "0.9.10-beta.60",
version: "0.9.10-beta.61",
elixir: ">= #{System.get_env("ELIXIR_VERSION", "1.13.4")}",
flavour: @flavour,
default_flavour: @default_flavour,