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

Commit

Permalink
make versions
Browse files Browse the repository at this point in the history
  • Loading branch information
lacraig2 committed Mar 13, 2024
1 parent 9bc57e2 commit 09ece63
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Get next version
uses: reecetech/[email protected]
id: version
with:
use_api: true

- name: Build
run: |
docker run --rm -v $PWD:/app/src -w /app/src ubuntu:20.04 bash -c " \
Expand All @@ -35,17 +41,17 @@ jobs:
with:
name: genext2fs
path: build

- name: Create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: release_${{ github.sha }}
release_name: Release ${{ github.ref }}
tag_name: ${{ steps.version.outputs.v-version }}
release_name: Release ${{ steps.version.outputs.v-version }} ${{ github.ref }}
body: |
Release @${{ github.ref }}
Release ${{ steps.version.outputs.v-version }} @${{ github.ref }}
draft: true
prerelease: false

Expand Down

0 comments on commit 09ece63

Please sign in to comment.