Skip to content

Commit 50fc6d2

Browse files
committed
use {version}-{edition} format
1 parent 494d423 commit 50fc6d2

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

.github/workflows/publish-github-release.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ jobs:
3636
- name: do compile macos libs
3737
run: |
3838
cd macos
39-
./compile-any.sh build libyuv
40-
./compile-any.sh lipo libyuv
39+
./compile-any.sh build
40+
./compile-any.sh lipo
4141
- name: do compile ios libs
4242
run: |
4343
cd ios
44-
./compile-any.sh build libyuv
45-
./compile-any.sh lipo libyuv
44+
./compile-any.sh build
45+
./compile-any.sh lipo
4646
- name: Zip macos libs
4747
run: |
4848
cd build/product/macos/universal
@@ -57,8 +57,8 @@ jobs:
5757
env:
5858
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5959
with:
60-
tag_name: ${{ env.EDITION }}-${{ env.RELEASE_VERSION }}
61-
release_name: Release ${{ env.EDITION }}-${{ env.RELEASE_VERSION }}
60+
tag_name: ${{ env.RELEASE_VERSION }}-${{ env.EDITION }}
61+
release_name: Release ${{ env.RELEASE_VERSION }}-${{ env.EDITION }}
6262
draft: false
6363
prerelease: false
6464
- name: Upload macos Release Asset
@@ -68,7 +68,7 @@ jobs:
6868
with:
6969
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
7070
asset_path: build/product/macos/universal/macos-universal.zip
71-
asset_name: "macos-universal-${{ env.EDITION }}-${{ env.RELEASE_VERSION }}.zip"
71+
asset_name: "macos-universal-${{ env.RELEASE_VERSION }}-${{ env.EDITION }}.zip"
7272
asset_content_type: application/zip
7373
- name: Upload ios Release Asset
7474
uses: actions/upload-release-asset@v1
@@ -77,7 +77,7 @@ jobs:
7777
with:
7878
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
7979
asset_path: build/product/ios/universal/ios-universal.zip
80-
asset_name: "ios-universal-${{ env.EDITION }}-${{ env.RELEASE_VERSION }}.zip"
80+
asset_name: "ios-universal-${{ env.RELEASE_VERSION }}-${{ env.EDITION }}.zip"
8181
asset_content_type: application/zip
8282
- name: Upload macos src md
8383
uses: actions/upload-release-asset@v1
@@ -86,7 +86,7 @@ jobs:
8686
with:
8787
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
8888
asset_path: build/src/macos-src-log.md
89-
asset_name: "macos-src-log-${{ env.EDITION }}-${{ env.RELEASE_VERSION }}.md"
89+
asset_name: "macos-src-log-${{ env.RELEASE_VERSION }}-${{ env.EDITION }}.md"
9090
asset_content_type: application/text
9191
- name: Upload ios src md
9292
uses: actions/upload-release-asset@v1
@@ -95,5 +95,5 @@ jobs:
9595
with:
9696
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
9797
asset_path: build/src/ios-src-log.md
98-
asset_name: "ios-src-log-${{ env.EDITION }}-${{ env.RELEASE_VERSION }}.md"
98+
asset_name: "ios-src-log-${{ env.RELEASE_VERSION }}-${{ env.EDITION }}.md"
9999
asset_content_type: application/text

.github/workflows/publish-ijk-release.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ jobs:
3434
- name: do compile macos libs
3535
run: |
3636
cd macos
37-
./compile-any.sh build libyuv
38-
./compile-any.sh lipo libyuv
37+
./compile-any.sh build
38+
./compile-any.sh lipo
3939
- name: do compile ios libs
4040
run: |
4141
cd ios
42-
./compile-any.sh build libyuv
43-
./compile-any.sh lipo libyuv
42+
./compile-any.sh build
43+
./compile-any.sh lipo
4444
- name: Zip macos libs
4545
run: |
4646
cd build/product/macos/universal
@@ -55,8 +55,8 @@ jobs:
5555
env:
5656
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5757
with:
58-
tag_name: ${{ env.EDITION }}-${{ env.RELEASE_VERSION }}
59-
release_name: Release ${{ env.EDITION }}-${{ env.RELEASE_VERSION }}
58+
tag_name: ${{ env.RELEASE_VERSION }}-${{ env.EDITION }}
59+
release_name: Release ${{ env.RELEASE_VERSION }}-${{ env.EDITION }}
6060
draft: false
6161
prerelease: false
6262
- name: Upload macos Release Asset
@@ -66,7 +66,7 @@ jobs:
6666
with:
6767
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
6868
asset_path: build/product/macos/universal/macos-universal.zip
69-
asset_name: "macos-universal-${{ env.EDITION }}-${{ env.RELEASE_VERSION }}.zip"
69+
asset_name: "macos-universal-${{ env.RELEASE_VERSION }}-${{ env.EDITION }}.zip"
7070
asset_content_type: application/zip
7171
- name: Upload ios Release Asset
7272
uses: actions/upload-release-asset@v1
@@ -75,7 +75,7 @@ jobs:
7575
with:
7676
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
7777
asset_path: build/product/ios/universal/ios-universal.zip
78-
asset_name: "ios-universal-${{ env.EDITION }}-${{ env.RELEASE_VERSION }}.zip"
78+
asset_name: "ios-universal-${{ env.RELEASE_VERSION }}-${{ env.EDITION }}.zip"
7979
asset_content_type: application/zip
8080
- name: Upload macos src md
8181
uses: actions/upload-release-asset@v1
@@ -84,7 +84,7 @@ jobs:
8484
with:
8585
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
8686
asset_path: build/src/macos-src-log.md
87-
asset_name: "macos-src-log-${{ env.EDITION }}-${{ env.RELEASE_VERSION }}.md"
87+
asset_name: "macos-src-log-${{ env.RELEASE_VERSION }}-${{ env.EDITION }}.md"
8888
asset_content_type: application/text
8989
- name: Upload ios src md
9090
uses: actions/upload-release-asset@v1
@@ -93,5 +93,5 @@ jobs:
9393
with:
9494
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
9595
asset_path: build/src/ios-src-log.md
96-
asset_name: "ios-src-log-${{ env.EDITION }}-${{ env.RELEASE_VERSION }}.md"
96+
asset_name: "ios-src-log-${{ env.RELEASE_VERSION }}-${{ env.EDITION }}.md"
9797
asset_content_type: application/text

0 commit comments

Comments
 (0)