Skip to content

Commit

Permalink
Update pre-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aemiii91 authored Jan 6, 2024
1 parent 45030f2 commit c254b72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ jobs:
echo "SHA_SHORT=$(git log -n 1 --pretty=format:"%h" origin/main)" >> $GITHUB_ENV
- name: Print version
run: |
echo "Onion-v${{ env.BUILD_VERSION }}-beta-${{ env.SHA_SHORT }}"
echo "Onion-v${{ env.BUILD_VERSION }}-${{ env.SHA_SHORT }}"
- name: Build release
shell: bash
run: |
source /root/.bashrc
VERSION_OVERRIDE=${{ env.BUILD_VERSION }}-beta-${{ env.SHA_SHORT }} make release
VERSION_OVERRIDE=${{ env.BUILD_VERSION }}-${{ env.SHA_SHORT }} make release
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
automatic_release_tag: latest
prerelease: true
title: "Onion V${{ env.BUILD_VERSION }}"
files: |
release/Onion-v${{ env.BUILD_VERSION }}-beta-${{ env.SHA_SHORT }}.zip
release/Onion-v${{ env.BUILD_VERSION }}-${{ env.SHA_SHORT }}.zip

0 comments on commit c254b72

Please sign in to comment.