Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
michael105 committed Feb 5, 2025
1 parent 2a7d95f commit f087020
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Get version from config.make
id: get_version
run: |
VERSION=$(sed -ne 's/^VERSION := //p' config.make | tr -d '\n')
echo "::set-output name=version::$VERSION"
- name: Download Binary using wget
run: |
wget https://github.com/michael105/static-bin/raw/refs/heads/main/xorg/slterm
Expand All @@ -27,8 +35,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
tag_name: ${{ steps.get_version.outputs.version }}
release_name: Release ${{ steps.get_version.outputs.version }}
body: |
automated package builds
draft: false
Expand All @@ -44,12 +52,6 @@ jobs:
asset_name: slterm_linux_amd64
asset_content_type: application/octet-stream

- name: Get version from config.make
id: get_version
run: |
VERSION=$(sed -ne 's/^VERSION := //p' config.make | tr -d '\n')
echo "::set-output name=version::$VERSION"
- name: build static package
run: |
VERSION=${{ steps.get_version.outputs.version }}
Expand Down

0 comments on commit f087020

Please sign in to comment.