Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
awnion committed Sep 10, 2024
1 parent d669344 commit 0fffef6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.y{,a}ml]
indent_size = 2
17 changes: 17 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,23 @@ jobs:
echo "New version: $NEW_VERSION"
echo "new_version=$NEW_VERSION" >> $GITHUB_ENV
- name: Build font
run: ./build.sh

- name: Display structure of created files
run: ls -R dist

- name: Prepare name
run: mv ./output/afio-*.zip afio-${{ env.new_version }}.zip

- uses: ncipollo/release-action@v1
with:
allowUpdates: true
prerelease: true
artifacts: "afio-${{ env.new_version }}.zip"
tag: ${{ github.ref_name }}
removeArtifacts: true

- name: Tag the new version
run: |
git tag ${{ env.new_version }}
Expand Down

0 comments on commit 0fffef6

Please sign in to comment.