Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .devcontainer/devcontainer-lock.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"features": {
"ghcr.io/devcontainers-contrib/features/prettier:1": {
"ghcr.io/devcontainers-extra/features/prettier:1": {
"version": "1.0.2",
"resolved": "ghcr.io/devcontainers-extra/features/prettier@sha256:be8a83826ac496bd1e298ecf1052e600bdddd8ef3248ca630b53a9bdea3d3d76",
"integrity": "sha256:be8a83826ac496bd1e298ecf1052e600bdddd8ef3248ca630b53a9bdea3d3d76"
Expand All @@ -9,6 +9,16 @@
"version": "1.1.0",
"resolved": "ghcr.io/devcontainers/features/github-cli@sha256:d22f50b70ed75339b4eed1ba9ecde3a1791f90e88d37936517e3bace0bbad671",
"integrity": "sha256:d22f50b70ed75339b4eed1ba9ecde3a1791f90e88d37936517e3bace0bbad671"
},
"ghcr.io/nils-geistmann/devcontainers-features/zsh:0": {
"version": "0.0.8",
"resolved": "ghcr.io/nils-geistmann/devcontainers-features/zsh@sha256:fd57a61a5187480b5e73f8041be5b67005be48f06503736df6cfdd8d0f38f3c4",
"integrity": "sha256:fd57a61a5187480b5e73f8041be5b67005be48f06503736df6cfdd8d0f38f3c4"
},
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {
"version": "0.0.6",
"resolved": "ghcr.io/stuartleeks/dev-container-features/shell-history@sha256:f266af2d093e0611921ccf510046e53affeccb353405ee05d2b91fcc4f69c1c9",
"integrity": "sha256:f266af2d093e0611921ccf510046e53affeccb353405ee05d2b91fcc4f69c1c9"
}
}
}
6 changes: 5 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
},
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers-contrib/features/prettier:1": {}
"ghcr.io/devcontainers-extra/features/prettier:1": {},
"ghcr.io/nils-geistmann/devcontainers-features/zsh:0": {
"theme": "agnoster"
},
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {}
}
}
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Create/update major version tag

on:
release:
types: [released]

jobs:
tagging:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Get current release
id: current_release
uses: joutvhu/get-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Get major version: (Ex: `v1.0.0` -> `v1`)
- name: Get major version from release
id: major_version
run: |
echo "::set-output name=version::$(echo ${{ steps.current_release.outputs.tag_name }} | cut -f 1 -d .)"

# Create or update major version tag (Ex: v1, v2, ...)
- name: Create or update major version
uses: joutvhu/create-tag@v1
with:
tag_name: ${{ steps.major_version.outputs.version }}
message: ${{ steps.current_release.outputs.name }}
on_tag_exists: update
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ This action packs a Stream Deck plugin for release.

## Basic use

> [!IMPORTANT]
>
> This action depends on the StreamDeck SDK being installed by the project using
> the action. v2 of the action requires SDK version 1.8.0 or later.

Add the following step to your workflow:

```yaml
- name: Pack
uses: neilenns/streamdeck-cli-pack@v1
uses: neilenns/streamdeck-cli-pack@v2
```

This will automatically pack the folder ending in `.sdPlugin` in the root of
Expand Down