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

Commit

Permalink
EVEREST-429 rebuild pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
oksana-grishchenko committed Sep 26, 2023
1 parent b46586c commit 5d7a9cf
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
branches:
- release-[0-9]+.[0-9]+.[0-9]+*
- EVEREST-429-release-ci

jobs:
build:
Expand All @@ -12,22 +11,25 @@ jobs:
- name: Check out
uses: actions/checkout@v4

- name: Set release version
- name: Define release branch name
run: |
semantic_version=${github.ref_name#"release-"}
echo "IMAGE_TAG=v${semantic_version}" >> $GITHUB_ENV
echo "RELEASE_BRANCH_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV
- name: Define tag name
run: |
echo "IMAGE_TAG=v${RELEASE_BRANCH_NAME#"release-"}" >> $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 }}
- 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 }}

0 comments on commit 5d7a9cf

Please sign in to comment.