mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 03:41:55 +00:00
Actions: Create source tar lik srs-server-5.0.14.tar.gz
This commit is contained in:
parent
4b37f650f7
commit
c48c9603c0
4 changed files with 15 additions and 11 deletions
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
|
@ -28,6 +28,17 @@ jobs:
|
||||||
echo "SRS_TAG=$SRS_TAG" >> $GITHUB_ENV
|
echo "SRS_TAG=$SRS_TAG" >> $GITHUB_ENV
|
||||||
SRS_MAJOR=$(echo $SRS_TAG| cut -c 2)
|
SRS_MAJOR=$(echo $SRS_TAG| cut -c 2)
|
||||||
echo "SRS_MAJOR=$SRS_MAJOR" >> $GITHUB_ENV
|
echo "SRS_MAJOR=$SRS_MAJOR" >> $GITHUB_ENV
|
||||||
|
# Create source tar for release. Note that it's for OpenWRT package srs-server, so the filename MUST be
|
||||||
|
# srs-server-xxx.tar.gz, because the package is named srs-server.
|
||||||
|
# Generate variables like:
|
||||||
|
# SRS_SOURCE_TAR=srs-server-4.0.145.tar.gz
|
||||||
|
- name: Create source tar.gz
|
||||||
|
run: |
|
||||||
|
DEST_DIR=srs-server-$(echo ${SRS_TAG}| sed 's/^v//g') && mkdir -p $DEST_DIR &&
|
||||||
|
cp README.md $DEST_DIR && cp LICENSE $DEST_DIR && cp -R trunk $DEST_DIR/trunk &&
|
||||||
|
(cd $DEST_DIR/trunk/3rdparty && rm -rf *.zip openssl-*.gz srs-bench) &&
|
||||||
|
echo "SRS_SOURCE_TAR=${DEST_DIR}.tar.gz" >> $GITHUB_ENV &&
|
||||||
|
tar zcf ${DEST_DIR}.tar.gz ${DEST_DIR} && du -sh ${DEST_DIR}* && rm -rf ${DEST_DIR}
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
# Tests
|
# Tests
|
||||||
|
@ -89,15 +100,6 @@ jobs:
|
||||||
kubectl describe deploy/srs4-deploy
|
kubectl describe deploy/srs4-deploy
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
# Create source tar for release
|
|
||||||
- name: Create source tar.gz
|
|
||||||
run: |
|
|
||||||
DEST_DIR=srs-$(echo ${SRS_TAG}|sed 's/^v//g') && mkdir -p $DEST_DIR &&
|
|
||||||
cp README.md $DEST_DIR && cp LICENSE $DEST_DIR && cp -R trunk $DEST_DIR/trunk &&
|
|
||||||
(cd $DEST_DIR/trunk/3rdparty && rm -rf *.zip openssl-*.gz srs-bench) &&
|
|
||||||
echo "SRS_SOURCE_TAR=${DEST_DIR}.tar.gz" >> $GITHUB_ENV &&
|
|
||||||
tar zcf ${DEST_DIR}.tar.gz ${DEST_DIR} &&
|
|
||||||
du -sh ${DEST_DIR}*
|
|
||||||
# Create release.
|
# Create release.
|
||||||
- name: Create release
|
- name: Create release
|
||||||
id: create_release
|
id: create_release
|
||||||
|
|
|
@ -8,6 +8,7 @@ The changelog for SRS.
|
||||||
|
|
||||||
## SRS 5.0 Changelog
|
## SRS 5.0 Changelog
|
||||||
|
|
||||||
|
* v4.0, 2021-10-03, Actions: Create source tar lik srs-server-5.0.14.tar.gz
|
||||||
* v5.0, 2021-10-02, ST: Support Cygwin64 and MIPS. 5.0.13
|
* v5.0, 2021-10-02, ST: Support Cygwin64 and MIPS. 5.0.13
|
||||||
* v5.0, 2021-09-23, Merge [#2578](https://github.com/ossrs/srs/pull/2578) Support http callback on_play/stop. 5.0.12
|
* v5.0, 2021-09-23, Merge [#2578](https://github.com/ossrs/srs/pull/2578) Support http callback on_play/stop. 5.0.12
|
||||||
* v5.0, 2021-08-07, Fix [#2508](https://github.com/ossrs/srs/pull/2508), Support features query by API. 5.0.10
|
* v5.0, 2021-08-07, Fix [#2508](https://github.com/ossrs/srs/pull/2508), Support features query by API. 5.0.10
|
||||||
|
@ -25,6 +26,7 @@ The changelog for SRS.
|
||||||
|
|
||||||
## SRS 4.0 Changelog
|
## SRS 4.0 Changelog
|
||||||
|
|
||||||
|
* v4.0, 2021-10-03, Actions: Create source tar lik srs-server-4.0.165.tar.gz
|
||||||
* v4.0, 2021-09-23, Merge [#2578](https://github.com/ossrs/srs/pull/2578) Support http callback on_play/stop. 4.0.163
|
* v4.0, 2021-09-23, Merge [#2578](https://github.com/ossrs/srs/pull/2578) Support http callback on_play/stop. 4.0.163
|
||||||
* v4.0, 2021-09-23, Merge [#2618](https://github.com/ossrs/srs/pull/2618) to fix FUA bug.
|
* v4.0, 2021-09-23, Merge [#2618](https://github.com/ossrs/srs/pull/2618) to fix FUA bug.
|
||||||
* v4.0, 2021-09-05, RTC: Merge [#2581](https://github.com/ossrs/srs/pull/2581), Fix listen ipv6 and port. 4.0.161
|
* v4.0, 2021-09-05, RTC: Merge [#2581](https://github.com/ossrs/srs/pull/2581), Fix listen ipv6 and port. 4.0.161
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
|
|
||||||
#define VERSION_MAJOR 4
|
#define VERSION_MAJOR 4
|
||||||
#define VERSION_MINOR 0
|
#define VERSION_MINOR 0
|
||||||
#define VERSION_REVISION 164
|
#define VERSION_REVISION 165
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -9,6 +9,6 @@
|
||||||
|
|
||||||
#define VERSION_MAJOR 5
|
#define VERSION_MAJOR 5
|
||||||
#define VERSION_MINOR 0
|
#define VERSION_MINOR 0
|
||||||
#define VERSION_REVISION 13
|
#define VERSION_REVISION 14
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue