Enable publish

This commit is contained in:
jeffvli 2022-11-20 19:21:13 -08:00
parent c273dd9753
commit 693286a6a1
8 changed files with 14 additions and 17 deletions

View File

@ -7,10 +7,6 @@ on:
jobs:
publish:
# To enable auto publishing to github, update your electron publisher
# config in package.json > "build" and remove the conditional below
if: ${{ github.repository_owner == 'electron-react-boilerplate' }}
runs-on: ${{ matrix.os }}
strategy:
@ -34,12 +30,13 @@ jobs:
- name: Publish releases
env:
# These values are used for auto updates signing
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASS: ${{ secrets.APPLE_ID_PASS }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
# APPLE_ID: ${{ secrets.APPLE_ID }}
# APPLE_ID_PASS: ${{ secrets.APPLE_ID_PASS }}
# CSC_LINK: ${{ secrets.CSC_LINK }}
# CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
# This is used for uploading release assets to github
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: nick-invision/retry@v2.4.0
run: |
npm run postinstall
npm run build

View File

@ -1,12 +1,12 @@
{
"name": "feishin",
"version": "1.0.0-alpha1",
"version": "0.0.1-alpha1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "feishin",
"version": "1.0.0-alpha1",
"version": "0.0.1-alpha1",
"hasInstallScript": true,
"license": "MIT"
}

View File

@ -1,6 +1,6 @@
{
"name": "feishin",
"version": "1.0.0-alpha1",
"version": "0.0.1-alpha1",
"description": "",
"main": "./dist/main/main.js",
"author": {

View File

@ -1,12 +1,12 @@
{
"name": "feishin-server",
"version": "1.0.0-alpha1",
"version": "0.0.1-alpha1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "feishin-server",
"version": "1.0.0-alpha1",
"version": "0.0.1-alpha1",
"license": "GPL-3.0",
"dependencies": {
"@prisma/client": "^4.5.0",

View File

@ -1,6 +1,6 @@
{
"name": "feishin-server",
"version": "1.0.0-alpha1",
"version": "0.0.1-alpha1",
"description": "A full-featured Subsonic/Jellyfin compatible music player",
"main": "server.js",
"scripts": {

View File

@ -28,7 +28,7 @@ export const authenticate = async (options: {
{ pw: password, username },
{
headers: {
'X-Emby-Authorization': `MediaBrowser Client="Feishin", Device="PC", DeviceId="Feishin", Version="1.0.0-alpha1"`,
'X-Emby-Authorization': `MediaBrowser Client="Feishin", Device="PC", DeviceId="Feishin", Version="0.0.1-alpha1"`,
},
}
);

View File

@ -23,7 +23,7 @@ export const jfAuthenticate = async (options: {
{ pw: password, username },
{
headers: {
'X-Emby-Authorization': `MediaBrowser Client="Feishin", Device="PC", DeviceId="Feishin", Version="1.0.0-alpha1"`,
'X-Emby-Authorization': `MediaBrowser Client="Feishin", Device="PC", DeviceId="Feishin", Version="0.0.1-alpha1"`,
},
}
);

View File

@ -45,7 +45,7 @@ export const validateServerCredential = async (options: {
{ pw: password, username },
{
headers: {
'X-Emby-Authorization': `MediaBrowser Client="Feishin", Device="PC", DeviceId="Feishin", Version="1.0.0-alpha1"`,
'X-Emby-Authorization': `MediaBrowser Client="Feishin", Device="PC", DeviceId="Feishin", Version="0.0.1-alpha1"`,
},
}
);