mirror of
https://github.com/vector-im/element-call.git
synced 2026-10-01 22:55:51 +00:00
Cleanup version vars
This commit is contained in:
@@ -23,7 +23,7 @@ jobs:
|
|||||||
build_element_call:
|
build_element_call:
|
||||||
uses: ./.github/workflows/build-element-call.yaml
|
uses: ./.github/workflows/build-element-call.yaml
|
||||||
with:
|
with:
|
||||||
vite_app_version: embedded-${{ github.event.release.tag_name }}
|
vite_app_version: embedded-${{ github.env.VERSION }}
|
||||||
package: embedded
|
package: embedded
|
||||||
|
|
||||||
publish_tarball:
|
publish_tarball:
|
||||||
@@ -35,7 +35,7 @@ jobs:
|
|||||||
contents: write # required to upload release asset
|
contents: write # required to upload release asset
|
||||||
packages: write
|
packages: write
|
||||||
env:
|
env:
|
||||||
FILENAME_PREFIX: element-call-embedded-${{ github.event.release.tag_name || github.sha }} # Using ${{ env.VERSION }} doesn't work here
|
FILENAME_PREFIX: element-call-embedded-${{ github.env.VERSION }}
|
||||||
steps:
|
steps:
|
||||||
- name: 📥 Download built element-call artifact
|
- name: 📥 Download built element-call artifact
|
||||||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
|
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
|
||||||
|
|||||||
@@ -4,12 +4,15 @@ on:
|
|||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
|
||||||
|
env:
|
||||||
|
VERSION: ${{ github.event.release.tag_name }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_element_call:
|
build_element_call:
|
||||||
uses: ./.github/workflows/build-element-call.yaml
|
uses: ./.github/workflows/build-element-call.yaml
|
||||||
with:
|
with:
|
||||||
package: full
|
package: full
|
||||||
vite_app_version: ${{ github.event.release.tag_name }}
|
vite_app_version: ${{ github.env.VERSION }}
|
||||||
secrets:
|
secrets:
|
||||||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
||||||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
||||||
@@ -24,7 +27,7 @@ jobs:
|
|||||||
contents: write # required to upload release asset
|
contents: write # required to upload release asset
|
||||||
packages: write
|
packages: write
|
||||||
env:
|
env:
|
||||||
FILENAME_PREFIX: element-call-${{ github.event.release.tag_name }}
|
FILENAME_PREFIX: element-call-${{ github.env.VERSION }}
|
||||||
steps:
|
steps:
|
||||||
- name: 📥 Download built element-call artifact
|
- name: 📥 Download built element-call artifact
|
||||||
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4
|
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4
|
||||||
@@ -62,6 +65,8 @@ jobs:
|
|||||||
name: Add docker release note
|
name: Add docker release note
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Get artifact version
|
||||||
|
run: echo "ARTIFACT_VERSION=${VERSION:1}" >> "$GITHUB_ENV"
|
||||||
- name: Add release note
|
- name: Add release note
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
@@ -73,5 +78,5 @@ jobs:
|
|||||||
The image provides a full build of Element Call that can be used both in standalone and as a widget (on a remote URL).
|
The image provides a full build of Element Call that can be used both in standalone and as a widget (on a remote URL).
|
||||||
|
|
||||||
```
|
```
|
||||||
docker pull ghcr.io/element-hq/element-call:${{ github.event.release.tag_name }}
|
docker pull ghcr.io/element-hq/element-call:${{ env.ARTIFACT_VERSION }}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user