diff options
author | Indrajith K L | 2021-06-09 00:43:29 +0530 |
---|---|---|
committer | Indrajith K L | 2021-06-09 00:43:29 +0530 |
commit | b2f9a3a474e9e761c382bad64e9f006adc7d607b (patch) | |
tree | aeb846f784970713cc59af63647d26ccac6429dd /.github/workflows | |
download | retrowave-music-player-kodi-b2f9a3a474e9e761c382bad64e9f006adc7d607b.tar.gz retrowave-music-player-kodi-b2f9a3a474e9e761c382bad64e9f006adc7d607b.tar.bz2 retrowave-music-player-kodi-b2f9a3a474e9e761c382bad64e9f006adc7d607b.zip |
Initial Commit
* Working Media Player
* Adds Album Art
TODO: Adds Pagination
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/master.yml | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml new file mode 100644 index 0000000..5320ce3 --- /dev/null +++ b/.github/workflows/master.yml @@ -0,0 +1,72 @@ +name: ReleaseAddon +on: + push: + branches: + - master +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Zip Folder + run: zip -r plugin.retrowave.indrajith.zip . -x ".git/*" ".github/*" + - name: Release to Github + run: echo "Release" + - name: Create Release Folder + run: rsync -arv --exclude='.git/' --exclude='.github/' --exclude='.gitignore' . ./release + - name: Switch to Release Folder + run: | + cd release + ls -la + - uses: paulhatch/semantic-version@v4.0.2 + id: version_name + with: + # The prefix to use to identify tags + tag_prefix: "v" + # A string which, if present in a git commit, indicates that a change represents a + # major (breaking) change, supports regular expressions wrapped with '/' + major_pattern: "(MAJOR)" + # Same as above except indicating a minor change, supports regular expressions wrapped with '/' + minor_pattern: "(MINOR)" + # A string to determine the format of the version output + format: "${major}.${minor}.${patch}-prerelease${increment}" + # Optional path to check for changes. If any changes are detected in the path the + # 'changed' output will true. Enter multiple paths separated by spaces. + change_path: "./" + # Named version, will be used as suffix for name version tag + namespace: project-b + # Indicate whether short tags like 'v1' should be supported. If false only full + # tags like 'v1.0.0' will be recognized. + short_tags: true + # If this is set to true, *every* commit will be treated as a new version. + bump_each_commit: false + - uses: "marvinpinto/action-automatic-releases@latest" + id: create_release + with: + repo_token: "${{ secrets.TOKEN }}" + prerelease: true + automatic_release_tag: "latest" + title: "Development Build" + files: | + *.zip + - name: Release + uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') + with: + files: plugin.retrowave.indrajith.zip + env: + GITHUB_TOKEN: ${{ secrets.TOKEN }} + # - name: upload zip release + # uses: actions/upload-release-asset@v1 + # env: + # GITHUB_TOKEN: ${{ github.token }} + # with: + # upload_url: ${{ steps.create_release.outputs.upload_url }} + # asset_path: ./plugin.retrowave.indrajith.zip + # asset_name: plugin.retrowave.indrajith.zip + # asset_content_type: application/gzip + - name: Bump version and push tag + uses: anothrNick/github-tag-action@master + env: + GITHUB_TOKEN: ${{ secrets.TOKEN }} + REPO_OWNER: cooljith91112
\ No newline at end of file |