🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Fix git tag detection
Deluanf5572b8447f6
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 71d89d90d..2cf9cc51d 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -23,7 +23,7 @@ jobs:id: go- name: Check out code into the Go module directory- uses: actions/checkout@v1+ uses: actions/checkout@v2- uses: actions/cache@v1id: cache-go@@ -44,7 +44,7 @@ jobs:name: Test UIruns-on: ubuntu-lateststeps:- - uses: actions/checkout@v1+ - uses: actions/checkout@v2- uses: actions/setup-node@v1with:node-version: 13@@ -85,12 +85,10 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout Code- uses: actions/checkout@v1- with:- fetch-depth: 0+ uses: actions/checkout@v2- - name: Fetch tags- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*+ - name: Unshallow+ run: git fetch --prune --unshallow- uses: actions/download-artifact@v1with:diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex bf1bcf027..6d21c60a7 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -2,29 +2,32 @@ name: Releaseon:push:tags:- - '*'+ - "*"jobs:release:name: Releaseruns-on: ubuntu-lateststeps:- name: Checkout Code- uses: actions/checkout@v1+ uses: actions/checkout@v2with:fetch-depth: 0++ - name: Unshallow+ run: git fetch --prune --unshallow+- uses: actions/setup-node@v1with:node-version: 13+- name: Build UIrun: |cd uinpm cinpm run build- - name: Fetch tags- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*+- name: Run GoReleaseruses: docker://deluan/ci-goreleaser:1.14.1-1-env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with: