Compare commits

..

15 Commits

Author SHA1 Message Date
RiotRobot
adfc66bd1b v1.11.87-rc.6 2024-11-26 15:15:08 +00:00
Michael Telatynski
dbfb84eb77 Merge remote-tracking branch 'origin/staging' into staging 2024-11-26 15:11:53 +00:00
Michael Telatynski
3d48168394 We have to make the tar output directory manually
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-26 15:11:48 +00:00
RiotRobot
9ddd5d96eb v1.11.87-rc.5 2024-11-26 15:05:15 +00:00
Michael Telatynski
e6dc6b93a7 Merge remote-tracking branch 'origin/staging' into staging 2024-11-26 15:03:46 +00:00
Michael Telatynski
bd0bb879ec Fix download-verify-element-tarball not consuming inputs.tag
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-26 15:03:39 +00:00
RiotRobot
903928c33c v1.11.87-rc.4 2024-11-26 14:56:48 +00:00
Michael Telatynski
0525887be4 Merge remote-tracking branch 'origin/staging' into staging 2024-11-26 14:53:25 +00:00
Michael Telatynski
4259e96c90 Fix current version checking function
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-26 14:53:17 +00:00
RiotRobot
20532144d2 v1.11.87-rc.3 2024-11-26 14:42:48 +00:00
Michael Telatynski
d2eeb3d8af Merge remote-tracking branch 'origin/staging' into staging 2024-11-26 14:41:11 +00:00
Michael Telatynski
b4445fed53 Specify shell:bash in download-verify-element-tarball
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-26 14:41:00 +00:00
RiotRobot
9860f9320a v1.11.87-rc.2 2024-11-26 14:29:01 +00:00
Michael Telatynski
c8f46a0191 Merge remote-tracking branch 'origin/staging' into staging 2024-11-26 14:27:12 +00:00
Michael Telatynski
4285b4b140 GPG_FINGERPRINT is in vars not secrets
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-26 14:27:06 +00:00
3 changed files with 13 additions and 7 deletions

View File

@@ -10,24 +10,30 @@ inputs:
runs:
using: composite
steps:
- name: Download current version for its old bundles
- name: Download release tarball
id: current_download
uses: robinraju/release-downloader@a96f54c1b5f5e09e47d9504526e96febd949d4c2 # v1
with:
tag: steps.current_version.outputs.version
tag: ${{ inputs.tag }}
fileName: element-*.tar.gz*
out-file-path: ${{ runner.temp }}/download-verify-element-tarball
- name: Verify tarball
shell: bash
run: gpg --verify element-*.tar.gz.asc element-*.tar.gz
working-directory: ${{ runner.temp }}/download-verify-element-tarball
- name: Extract tarball
run: tar xvzf element-*.tar.gz -C webapp --strip-components=1
shell: bash
run: |
mkdir webapp
tar xvzf element-*.tar.gz -C webapp --strip-components=1
working-directory: ${{ runner.temp }}/download-verify-element-tarball
- name: Move webapp to out-file-path
shell: bash
run: mv ${{ runner.temp }}/download-verify-element-tarball/webapp ${{ inputs.out-file-path }}
- name: Clean up temp directory
shell: bash
run: rm -R ${{ runner.temp }}/download-verify-element-tarball

View File

@@ -36,12 +36,12 @@ jobs:
curl https://packages.element.io/element-release-key.gpg | gpg --import
gpg -k "$GPG_FINGERPRINT"
env:
GPG_FINGERPRINT: ${{ secrets.GPG_FINGERPRINT }}
GPG_FINGERPRINT: ${{ vars.GPG_FINGERPRINT }}
- name: Check current version on deployment
id: current_version
run: |
echo "version=$(curl -s https://$SITE/version)" >> $GITHUB_OUTPUT
echo "version=v$(curl -s https://$SITE/version)" >> $GITHUB_OUTPUT
# The current version bundle melding dance is skipped if the version we're deploying is the same
# as then we're just doing a re-deploy of the same version with potentially different configs.
@@ -50,7 +50,7 @@ jobs:
if: steps.current_version.outputs.version != github.ref_name
uses: ./.github/actions/download-verify-element-tarball
with:
tag: steps.current_version.outputs.version
tag: ${{ steps.current_version.outputs.version }}
out-file-path: _current_version
- name: Download target version

View File

@@ -1,6 +1,6 @@
{
"name": "element-web",
"version": "1.11.87-rc.1",
"version": "1.11.87-rc.6",
"description": "A feature-rich client for Matrix.org",
"author": "New Vector Ltd.",
"repository": {