Skip to content

Commit

Permalink
fix pdsc
Browse files Browse the repository at this point in the history
  • Loading branch information
Likang-Wang committed Dec 9, 2023
1 parent 1e1cb96 commit 4f49ddd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/cmake-single-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Build documentation and pack

on:
workflow_dispatch:
push:
branches: [ developing ]
pull_request:
branches: [ developing ]
release:
types: [published]

Expand Down Expand Up @@ -30,13 +34,3 @@ jobs:
packchk-version: 1.3.96
gen-pack-script: ./gen_pack.sh
gen-pack-output: ./output

- name: Copy .pack file
run: cp ./output/kk.byte_queue.1.0.0.pack ./release/kk.byte_queue.1.0.0.pack

- name: Upload release
uses: svenstaro/upload-release-action@v2
with:
files: ./release/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion gen_pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ DEFAULT_ARGS=(-c "v")

# Pack warehouse directory - destination
# Set the output directory to ./cmsis-pack
PACK_OUTPUT=./cmsis-pack
#PACK_OUTPUT=./cmsis-pack

# Temporary pack build directory,
# Default: ./build
Expand Down
7 changes: 5 additions & 2 deletions kk.byte_queue.pdsc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<vendor>kk</vendor>
<name>byte_queue</name>
<description>A circular queue library written in C that supports arbitrary types.</description>
<url>https://raw.githubusercontent.com/Aladdin-Wang/byte_queue/main/</url>
<url>https://github.com/Aladdin-Wang/byte_queue/</url>
<supportContact>https://github.com/Aladdin-Wang/byte_queue/issues</supportContact>
<license>LICENSE</license>

Expand All @@ -19,8 +19,11 @@
Active development ...
</release>
<!-- automatically generated content, please do not modify -->
<release date="2023-12-09" version="1.0.0" tag="1.0.0" url="https://raw.githubusercontent.com/Aladdin-Wang/byte_queue/main/kk.byte_queue.pack">
<release date="2023-12-09" version="1.0.0" tag="1.0.0" >
Initial release of byte_queue.
</release>
<release version="0.0.0-dirty1+g1e1cb96" tag="0.0.0-dirty1+g1e1cb96">
...
</release>
</releases>

Expand Down

0 comments on commit 4f49ddd

Please sign in to comment.