Skip to content

Commit

Permalink
Release miomod-nh-0-1
Browse files Browse the repository at this point in the history
  • Loading branch information
aradi committed Dec 15, 2024
0 parents commit 8f2d342
Show file tree
Hide file tree
Showing 7 changed files with 1,817 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: release

on:
push:
tags:
- v[0-9]*-[0-9]*

env:
SKF_SET_NAME: "${{ github.event.repository.name }}"

jobs:

skf-archive:

runs-on: ubuntu-latest

steps:

- name: Checkout sk set
uses: actions/checkout@v4

- name: Get version number
run: |
GIT_TAG=$(git describe --tags --match 'v[0-9]*-[0-9]*')
SKF_SET_VERSION=${GIT_TAG#v}"
echo "SKF_SET_VERSION=${SKF_SET_VERSION} >> ${GITHUB_ENV}
echo "ARCHIVE_NAME=${SKF_SET_NAME}-${SKF_SET_VERSION}" >> ${GITHUB_ENV}
- name: Create archive
run: |
mkdir -p _build/${ARCHIVE_NAME}
cp $(find . -maxdepth 1 -not -type 'd') _build/${ARCHIVE_NAME}
cp skfiles/*.skf _build/${ARCHIVE_NAME}
tar -C _build -c -v -J -f ${ARCHIVE_NAME}.tar.xz ${ARCHIVE_NAME}
# mkdir -p _build/${ARCHIVE_NAME}-extras
# cp -r extras/* _build/${ARCHIVE_NAME}-extras
# tar -C _build -c -v -J -f ${ARCHIVE_NAME}-extras.tar.xz ${ARCHIVE_NAME}-extras
- name: Create release
uses: softprops/action-gh-release@v2
with:
name: ${{ env.ARCHIVE_NAME }}
preserve_order: True
files: |
${{ env.ARCHIVE_NAME }}.tar.xz
# ${{ env.ARCHIVE_NAME }}-extras.tar.xz
body_path: RELEASE.md


5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Changelog

## miomod:nh-0-1

First public release under CC-BY-SA license
Loading

0 comments on commit 8f2d342

Please sign in to comment.