mirror of
https://github.com/jwetzell/q-sys-plugin-novastar.git
synced 2026-09-02 10:49:09 +00:00
Delete deploy.yml
This commit is contained in:
@@ -1,32 +0,0 @@
|
|||||||
name: Deploy Package
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
-master
|
|
||||||
tags:
|
|
||||||
- '*'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: windows-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Pull Source Files
|
|
||||||
uses: actions/checkout@v1
|
|
||||||
|
|
||||||
- name: Setup Nuget.exe
|
|
||||||
uses: warrenbuckley/Setup-Nuget@v1
|
|
||||||
|
|
||||||
- name: Update version in .qplug file
|
|
||||||
run: |
|
|
||||||
$TAG = $Env:GITHUB_REF.Replace("refs/tags/","")
|
|
||||||
# Will get exactly the first instance of a .qplug file
|
|
||||||
$QPLUG = (Get-ChildItem -Path "content" -Include *.qplug -Force -Recurse -File | Select-Object -First 1).Name
|
|
||||||
((Get-Content -path content\$QPLUG -Raw) -replace '0.0.0.0-master',$TAG) | Set-Content content\$QPLUG
|
|
||||||
|
|
||||||
|
|
||||||
- name: Pack with nuget.exe
|
|
||||||
run: |
|
|
||||||
nuget pack -Version $Env:GITHUB_REF.Replace("refs/tags/","")
|
|
||||||
Reference in New Issue
Block a user