1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-16 08:02:40 +01:00

Fixes for release

This commit is contained in:
David Bomba 2021-06-16 07:32:20 +10:00
commit 0462101eb5
7 changed files with 16 additions and 17 deletions

View File

@ -65,21 +65,21 @@ jobs:
- name: Create Release - name: Create Release
id: create_release id: create_release
uses: actions/create-release@v1 uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with: with:
tag_name: ${{ steps.get_tag_name.outputs.VERSION }} tag_name: ${{ steps.get_tag_name.outputs.VERSION }}
release_name: Release ${{ steps.get_tag_name.outputs.VERSION }} release_name: Release ${{ steps.get_tag_name.outputs.VERSION }}
draft: false draft: false
prerelease: false prerelease: false
token: ${{ secrets.PAT }}
- name: Upload Release Asset - name: Upload Release Asset
id: upload-release-asset id: upload-release-asset
uses: actions/upload-release-asset@v1 uses: actions/upload-release-asset@v1
env: env:
GITHUB_TOKEN: ${{secrets.PAT}} GITHUB_TOKEN: ${{secrets.RELEASE_TOKEN}}
with: with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./invoiceninja.zip asset_path: ./invoiceninja.zip
asset_name: invoiceninja.zip asset_name: invoiceninja.zip
asset_content_type: application/zip asset_content_type: application/zip
token: ${{ secrets.PAT }}

View File

@ -12,6 +12,7 @@
namespace App\PaymentDrivers; namespace App\PaymentDrivers;
use App\Exceptions\PaymentFailed;
use App\Factory\PaymentFactory; use App\Factory\PaymentFactory;
use App\Http\Requests\Payments\PaymentWebhookRequest; use App\Http\Requests\Payments\PaymentWebhookRequest;
use App\Http\Requests\Request; use App\Http\Requests\Request;
@ -490,9 +491,7 @@ class StripePaymentDriver extends BaseDriver
return PaymentMethod::retrieve($source, $this->stripe_connect_auth); return PaymentMethod::retrieve($source, $this->stripe_connect_auth);
} catch (ApiErrorException | Exception $e) { } catch (ApiErrorException | Exception $e) {
throw new PaymentFailed($e->getMessage(), $e->getCode());
return $this->processInternallyFailedPayment($this, $e);
} }
} }

View File

@ -5,7 +5,7 @@ const CACHE_NAME = 'flutter-app-cache';
const RESOURCES = { const RESOURCES = {
"version.json": "9fe5b22a16f39b766c8fdc35a24b3efa", "version.json": "9fe5b22a16f39b766c8fdc35a24b3efa",
"favicon.ico": "51636d3a390451561744c42188ccd628", "favicon.ico": "51636d3a390451561744c42188ccd628",
"main.dart.js": "33f9288e9a8ba68d21b46b8afda06fbb", "main.dart.js": "2b89ef74a0743703c6d95c238fb7de57",
"/": "23224b5e03519aaa87594403d54412cf", "/": "23224b5e03519aaa87594403d54412cf",
"assets/packages/material_design_icons_flutter/lib/fonts/materialdesignicons-webfont.ttf": "174c02fc4609e8fc4389f5d21f16a296", "assets/packages/material_design_icons_flutter/lib/fonts/materialdesignicons-webfont.ttf": "174c02fc4609e8fc4389f5d21f16a296",
"assets/AssetManifest.json": "659dcf9d1baf3aed3ab1b9c42112bf8f", "assets/AssetManifest.json": "659dcf9d1baf3aed3ab1b9c42112bf8f",

4
public/main.dart.js vendored
View File

@ -184201,8 +184201,8 @@ l=h.cy?1:0
n.push(new Z.a3k(m,l,new Y.ckc(h),g))}C.a.K(o,n)}if(h.cy){n=d.gow(d) n.push(new Z.a3k(m,l,new Y.ckc(h),g))}C.a.K(o,n)}if(h.cy){n=d.gow(d)
m=h.fx m=h.fx
o.push(S.aO(!1,H.a(["email"],t.i),!0,m,h.r,g,!0,g,g,g,g,!1,!1,g,C.l9,n,g,g,!1,g,g,new Y.ckf(h),!0,g,C.t,new Y.ckg(d)))}if(h.cy&&!h.fr)o.push(new S.Pu(h.x,new Y.ckh(h),!1,h.dx,g,g)) o.push(S.aO(!1,H.a(["email"],t.i),!0,m,h.r,g,!0,g,g,g,g,!1,!1,g,C.l9,n,g,g,!1,g,g,new Y.ckf(h),!0,g,C.t,new Y.ckg(d)))}if(h.cy&&!h.fr)o.push(new S.Pu(h.x,new Y.ckh(h),!1,h.dx,g,g))
if(!h.dx&&!h.fr)o.push(S.aO(!1,g,!1,!1,h.Q,g,!0,g,g,g,g,!1,!1,g,g,d.gahl()+" ("+d.gahn()+")",g,g,!1,g,g,new Y.cki(h),!0,g,C.t,g)) if(!h.dx&&!h.fr){n=d.gahl()+" ("+d.gahn()+")"
if(h.db&&!h.fr){n=J.d($.k.h(0,d.a),"secret") o.push(S.aO(!1,H.a(["oneTimeCode"],t.i),!1,!1,h.Q,g,!0,g,g,g,g,!1,!1,g,g,n,g,g,!1,g,g,new Y.cki(h),!0,g,C.t,g))}if(h.db&&!h.fr){n=J.d($.k.h(0,d.a),"secret")
n=(n==null?"":n)+" ("+d.gahn()+")" n=(n==null?"":n)+" ("+d.gahn()+")"
o.push(new S.Pu(h.z,new Y.ckj(h),h.fx,!0,n,g))}if(h.dx){n=E.jj(f) o.push(new S.Pu(h.z,new Y.ckj(h),h.fx,!0,n,g))}if(h.dx){n=E.jj(f)
m=h.fy m=h.fy

File diff suppressed because one or more lines are too long

View File

@ -151095,7 +151095,7 @@ return s.a=J.b9(s.a,"\n \u2022 "+H.f(a))},
$S:8} $S:8}
F.d7W.prototype={ F.d7W.prototype={
$1:function(a){a.a="https://634363c8dd6048b8ae89ab6c66dd9c24@sentry.invoicing.co/7" $1:function(a){a.a="https://634363c8dd6048b8ae89ab6c66dd9c24@sentry.invoicing.co/7"
a.cy="93e7afbb70389fc7f256a6b32eb73522c55b874f" a.cy="2922aad6bb84d2fc9768abac068c622aefacef5f"
a.fy="5.0.51" a.fy="5.0.51"
a.ch=new F.d7V(this.a)}, a.ch=new F.d7V(this.a)},
$S:760} $S:760}
@ -183459,8 +183459,8 @@ l=h.cy?1:0
n.push(new Z.a37(m,l,new Y.chV(h),g))}C.a.K(o,n)}if(h.cy){n=d.gov() n.push(new Z.a37(m,l,new Y.chV(h),g))}C.a.K(o,n)}if(h.cy){n=d.gov()
m=h.fx m=h.fx
o.push(S.aN(!1,H.a(["email"],t.i),!0,m,h.r,g,!0,g,g,g,g,!1,!1,g,C.l8,n,g,g,!1,g,g,new Y.chY(h),!0,g,C.t,new Y.chZ(d)))}if(h.cy&&!h.fr)o.push(new S.Pm(h.x,new Y.ci_(h),!1,h.dx,g,g)) o.push(S.aN(!1,H.a(["email"],t.i),!0,m,h.r,g,!0,g,g,g,g,!1,!1,g,C.l8,n,g,g,!1,g,g,new Y.chY(h),!0,g,C.t,new Y.chZ(d)))}if(h.cy&&!h.fr)o.push(new S.Pm(h.x,new Y.ci_(h),!1,h.dx,g,g))
if(!h.dx&&!h.fr)o.push(S.aN(!1,g,!1,!1,h.Q,g,!0,g,g,g,g,!1,!1,g,g,d.gah4()+" ("+d.gah6()+")",g,g,!1,g,g,new Y.ci0(h),!0,g,C.t,g)) if(!h.dx&&!h.fr){n=d.gah4()+" ("+d.gah6()+")"
if(h.db&&!h.fr){n=J.d($.k.h(0,d.a),"secret") o.push(S.aN(!1,H.a(["oneTimeCode"],t.i),!1,!1,h.Q,g,!0,g,g,g,g,!1,!1,g,g,n,g,g,!1,g,g,new Y.ci0(h),!0,g,C.t,g))}if(h.db&&!h.fr){n=J.d($.k.h(0,d.a),"secret")
n=(n==null?"":n)+" ("+d.gah6()+")" n=(n==null?"":n)+" ("+d.gah6()+")"
o.push(new S.Pm(h.z,new Y.ci1(h),h.fx,!0,n,g))}if(h.dx){n=E.jj(f) o.push(new S.Pm(h.z,new Y.ci1(h),h.fx,!0,n,g))}if(h.dx){n=E.jj(f)
m=h.fy m=h.fy
@ -212225,7 +212225,7 @@ X.auw.prototype={
$2:function(a,b){return this.ajY(a,b)}, $2:function(a,b){return this.ajY(a,b)},
ajY:function(a,b){var s=0,r=P.Y(t.z),q=[],p,o ajY:function(a,b){var s=0,r=P.Y(t.z),q=[],p,o
var $async$$2=P.U(function(c,d){if(c===1)return P.V(d,r) var $async$$2=P.U(function(c,d){if(c===1)return P.V(d,r)
while(true)switch(s){case 0:try{b.cy="93e7afbb70389fc7f256a6b32eb73522c55b874f" while(true)switch(s){case 0:try{b.cy="2922aad6bb84d2fc9768abac068c622aefacef5f"
b.fy=b.fy}catch(n){p=H.K(n) b.fy=b.fy}catch(n){p=H.K(n)
b.jV(C.fG,"Failed to load release and dist: "+H.f(p))}b.id.c.push("loadReleaseIntegration") b.jV(C.fG,"Failed to load release and dist: "+H.f(p))}b.id.c.push("loadReleaseIntegration")
return P.W(null,r)}}) return P.W(null,r)}})

File diff suppressed because one or more lines are too long