Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

EVEREST-429 rebuild pre-release #35

EVEREST-429 rebuild pre-release

EVEREST-429 rebuild pre-release #35

Workflow file for this run

name: Release CLI artifacts
on:
push:
branches:
- release-[0-9]+.[0-9]+.[0-9]+*
- EVEREST-429-release-ci
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Define release branch name
run: |
echo "RELEASE_BRANCH_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: Define version name
run: |
echo "IMAGE_TAG=v${RELEASE_BRANCH_NAME#"release-"}" >> $GITHUB_ENV
# semantic_version=${RELEASE_BRANCH_NAME#"release-"}
# echo "VERSION=v${semantic_version}" >> $GITHUB_ENV
#
# semantic_version=${ref_name#"release-"}
# echo "IMAGE_TAG=v${semantic_version}" >> $GITHUB_ENV
- name: test
run: echo "${IMAGE_TAG}"
# - name: Build binaries
# run: make release
#
# - name: Create release with binaries
# uses: softprops/action-gh-release@v1
# with:
# prerelease: true
# files: |
# dist/*
# env:
# GITHUB_TOKEN: ${{ github.token }}