-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
888200e
commit 237adc5
Showing
1 changed file
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
# This workflow contains a single job called "build" | ||
buildAndPublishBeta: | ||
name: "Build and Publish Beta Release" | ||
runs-on: self-hosted | ||
runs-on: ubuntu-latest | ||
outputs: | ||
release-tag: ${{ steps.releasenotes.outputs.tag }} | ||
release-name: ${{ steps.releasenotes.outputs.name }} | ||
|
@@ -25,7 +25,9 @@ jobs: | |
show-progress: true | ||
lfs: true | ||
- name: Checkout beta | ||
run: git checkout beta | ||
run: | | ||
git fetch | ||
git checkout beta | ||
- name: Checkout submodules | ||
run: git submodule update -f --init --remote | ||
- name: Extract version number and changelog from newest merge commit | ||
|
@@ -37,6 +39,18 @@ jobs: | |
echo "notes<<__EOF__" | tee /dev/stderr >> "$GITHUB_OUTPUT" | ||
echo "$(git log -n 1 --merges --pretty=format:%b)" | tee /dev/stderr >> "$GITHUB_OUTPUT" | ||
echo "__EOF__" | tee /dev/stderr >> "$GITHUB_OUTPUT" | ||
- name: Notify | ||
uses: monal-im/xmpp-notifier@master | ||
with: # Set the secrets as inputs | ||
jid: ${{ secrets.BOT_JID }} | ||
password: ${{ secrets.BOT_PASSWORD }} | ||
server_host: ${{ secrets.BOT_SERVER }} | ||
#recipient: [email protected] | ||
recipient: [email protected] | ||
recipient_is_room: true | ||
message: | | ||
New Betarelease: ${{ steps.releasenotes.outputs.name }} | ||
${{ steps.releasenotes.outputs.notes }} | ||
- name: Publish ios to appstore connect | ||
run: | | ||
notes=$(printf '%s\n' "${{ steps.releasenotes.outputs.notes }}" | jq -sRr @sh) | ||
|