Skip to content

Commit

Permalink
Update/v0.12.5 (#32)
Browse files Browse the repository at this point in the history
* update buildService and releaseService github actions

* update terminal to 0.12.5 and bump LND dependency to <0.19.0
  • Loading branch information
Dominion5254 authored May 7, 2024
1 parent 3808184 commit 61d9689
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/buildService.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: Start9Labs/sdk@v1

- name: Checkout services repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build the service package
id: build
Expand All @@ -26,11 +26,11 @@ jobs:
start-sdk init
make
PACKAGE_ID=$(yq -oy ".id" manifest.*)
echo "::set-output name=package_id::$PACKAGE_ID"
echo "package_id=$PACKAGE_ID" >> $GITHUB_ENV
shell: bash

- name: Upload .s9pk
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ steps.build.outputs.package_id }}.s9pk
path: ./${{ steps.build.outputs.package_id }}.s9pk
name: ${{ env.package_id }}.s9pk
path: ./${{ env.package_id }}.s9pk
22 changes: 11 additions & 11 deletions .github/workflows/releaseService.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: Start9Labs/sdk@v1

- name: Checkout services repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build the service package
run: |
Expand All @@ -26,37 +26,37 @@ jobs:
- name: Setting package ID and title from the manifest
id: package
run: |
echo "::set-output name=package_id::$(yq -oy ".id" manifest.*)"
echo "::set-output name=package_title::$(yq -oy ".title" manifest.*)"
echo "package_id=$(yq -oy ".id" manifest.*)" >> $GITHUB_ENV
echo "package_title=$(yq -oy ".title" manifest.*)" >> $GITHUB_ENV
shell: bash

- name: Generate sha256 checksum
run: |
PACKAGE_ID=${{ steps.package.outputs.package_id }}
PACKAGE_ID=${{ env.package_id }}
sha256sum ${PACKAGE_ID}.s9pk > ${PACKAGE_ID}.s9pk.sha256
shell: bash

- name: Generate changelog
run: |
PACKAGE_ID=${{ steps.package.outputs.package_id }}
PACKAGE_ID=${{ env.package_id }}
echo "## What's Changed" > change-log.txt
yq e '.release-notes' manifest.yaml >> change-log.txt
yq -oy '.release-notes' manifest.* >> change-log.txt
echo "## SHA256 Hash" >> change-log.txt
echo '```' >> change-log.txt
sha256sum ${PACKAGE_ID}.s9pk >> change-log.txt
echo '```' >> change-log.txt
shell: bash

- name: Create GitHub Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref_name }}
name: ${{ steps.package.outputs.package_title }} ${{ github.ref_name }}
name: ${{ env.package_title }} ${{ github.ref_name }}
prerelease: true
body_path: change-log.txt
files: |
./${{ steps.package.outputs.package_id }}.s9pk
./${{ steps.package.outputs.package_id }}.s9pk.sha256
./${{ env.package_id }}.s9pk
./${{ env.package_id }}.s9pk.sha256
- name: Publish to Registry
env:
Expand All @@ -67,5 +67,5 @@ jobs:
if [[ -z "$S9USER" || -z "$S9PASS" || -z "$S9REGISTRY" ]]; then
echo "Publish skipped: missing registry credentials."
else
start-sdk publish https://$S9USER:$S9PASS@$S9REGISTRY ${{ steps.package.outputs.package_id }}.s9pk
start-sdk publish https://$S9USER:$S9PASS@$S9REGISTRY ${{ env.package_id }}.s9pk
fi
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM lightninglabs/lightning-terminal:v0.12.4-alpha
FROM lightninglabs/lightning-terminal:v0.12.5-alpha
# arm64 or amd64
ARG PLATFORM
ARG ARCH
Expand Down
8 changes: 4 additions & 4 deletions manifest.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
id: lightning-terminal
title: Lightning Terminal
version: 0.12.4
version: 0.12.5
release-notes: |
* Update upstream to v0.12.4 [Release Notes](https://github.com/lightninglabs/lightning-terminal/releases/tag/v0.12.4-alpha)
* Fix backup bug
* Update upstream to v0.12.5 [Release Notes](https://github.com/lightninglabs/lightning-terminal/releases/tag/v0.12.5-alpha)
* Minor package improvements
license: mit
wrapper-repo: https://github.com/Start9Labs/lightning-terminal-wrapper
upstream-repo: https://github.com/lightninglabs/lightning-terminal
Expand Down Expand Up @@ -72,7 +72,7 @@ interfaces:
- http
dependencies:
lnd:
version: ">=0.16.0 <0.18.0"
version: ">=0.16.0 <0.19.0"
description: Used to communicate with the Lightning Network.
requirement:
type: required
Expand Down
2 changes: 1 addition & 1 deletion scripts/procedures/migrations.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { compat, types as T } from "../deps.ts";

export const migration: T.ExpectedExports.migration =
compat.migrations.fromMapping({}, "0.12.4");
compat.migrations.fromMapping({}, "0.12.5");

0 comments on commit 61d9689

Please sign in to comment.