Skip to content

Commit

Permalink
Merge pull request #34 from ONLYOFFICE/develop
Browse files Browse the repository at this point in the history
Release/v1.3.0
  • Loading branch information
LinneyS authored Oct 30, 2023
2 parents 3928c4f + fe68afd commit b6ab4da
Show file tree
Hide file tree
Showing 45 changed files with 1,514 additions and 516 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Build Artifact
run: |
cd ${{ github.workspace }}
Expand All @@ -29,7 +29,7 @@ jobs:
cd $cwd
awk '/## [0-9]/{p++} p; /## [0-9]/{if (p > 1) exit}' CHANGELOG.md | awk 'NR>2 {print last} {last=$0}' > RELEASE.md
- name: Upload Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: onlyoffice
path: deploy
29 changes: 8 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install Zip
run: sudo apt-get install zip
- name: Get Info
- name: Get Info
run: |
echo "::set-output name=version::$(awk '/##/{gsub(/[^0-9]+.[^0-9]+.[^0-9]/, "", $NF); print $NF}' CHANGELOG.md | awk 'NR==1{print $1}')"
echo "version=$(awk '/##/{gsub(/[^0-9]+.[^0-9]+.[^0-9]/, "", $NF); print $NF}' CHANGELOG.md | awk 'NR==1{print $1}')" >> $GITHUB_OUTPUT
id: info
- name: Build Artifact
run: |
Expand All @@ -34,23 +34,10 @@ jobs:
awk '/## [0-9]/{p++} p; /## [0-9]/{if (p > 1) exit}' CHANGELOG.md | awk 'NR>2 {print last} {last=$0}' > RELEASE.md
- name: Pack Artifact
run: zip -r onlyoffice onlyoffice
- name: Release Artifact
uses: actions/create-release@v1
- name: Create Release
uses: ncipollo/release-action@v1
id: create_release
with:
draft: false
prerelease: false
release_name: v${{ steps.info.outputs.version }}
tag_name: v${{ steps.info.outputs.version }}
body_path: ./RELEASE.md
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: onlyoffice.zip
asset_name: onlyoffice.zip
asset_content_type: application/zip
artifacts: "onlyoffice.zip"
bodyFile: RELEASE.md
tag: v${{ steps.info.outputs.version }}
5 changes: 0 additions & 5 deletions 3rd-Party.txt

This file was deleted.

7 changes: 0 additions & 7 deletions 3rdparty/jwt/BeforeValidException.php

This file was deleted.

7 changes: 0 additions & 7 deletions 3rdparty/jwt/ExpiredException.php

This file was deleted.

Loading

0 comments on commit b6ab4da

Please sign in to comment.