Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Automate store upload with Continuous Integration #312

Closed
jspenguin2017 opened this issue Jun 23, 2017 · 19 comments
Closed

Automate store upload with Continuous Integration #312

jspenguin2017 opened this issue Jun 23, 2017 · 19 comments
Labels
Archived This thread was archived, open new issues for similar problems. Fixed

Comments

@jspenguin2017
Copy link
Owner

jspenguin2017 commented Jun 23, 2017

https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/web-store
https://developer.chrome.com/webstore/webstore_api/items/update
https://github.com/c301/grunt-webstore-upload/blob/master/tasks/webstore_upload.js

Automate store upload with Continuous Integration.

@uBlock-user
Copy link

uBlock-user commented Jun 23, 2017

So with this every update will get automatically uploaded to the webstore without you doing it ?

@jspenguin2017
Copy link
Owner Author

Yep, that's the goal.

@jspenguin2017
Copy link
Owner Author

https://docs.travis-ci.com/user/environment-variables/
Well, time to install Ruby...

@jspenguin2017
Copy link
Owner Author

Hum...
image

@jspenguin2017
Copy link
Owner Author

Travis plz update your doc...
abitrolly/travis.rb@a0744f2#diff-04c6e90faac2675aa89e2176d2eec7d8

@jspenguin2017
Copy link
Owner Author

OK, I got the encryption working...

@jspenguin2017
Copy link
Owner Author

Google's docs on how to create credential are kind of crap... They need to make it noob friendly... Took me 1h to find the correct doc...

@jspenguin2017
Copy link
Owner Author

The doc on obtaining OAuth token is here: https://developer.chrome.com/webstore/using_webstore_api
But steps 7 and 8 are bad, the good doc for steps 7 and 8 is here: https://developers.google.com/identity/protocols/OAuth2

@uBlock-user
Copy link

Is it done ? I received another update to v9.9!

@jspenguin2017
Copy link
Owner Author

Yea I'm testing it... Not quite done yet.

@jspenguin2017
Copy link
Owner Author

The web store API is absolute crap, I have no way to check the current draft version...

@jspenguin2017
Copy link
Owner Author

image
And I received "OK"... Fix your docs...

@jspenguin2017
Copy link
Owner Author

Don't tell me I need a custom API to keep track of last build version... I'll just check published version, hopefully it'll go well.

@jspenguin2017
Copy link
Owner Author

Yea I guess I need to make an API server...... This is a bit more complex than I wanted... Anyway, I will manually upload updates until everything is ready.

@jspenguin2017
Copy link
Owner Author

It should be good now... Let me test it out...

@jspenguin2017
Copy link
Owner Author

jspenguin2017 commented Jun 24, 2017

Oh no, the build failed...

Eh... my server was misconfigured...

This is HARD to debug... Thankfully I only need to do it once...

@jspenguin2017
Copy link
Owner Author

image
I finally finished implementing it... That was HARD...

@jspenguin2017
Copy link
Owner Author

jspenguin2017 commented Jun 25, 2017

Actually the script didn't run in the last build... But I'm sure it's good now. The build script will call to my server... Hopefully that will not go down like last time...

I was planning on making the extension install page to look a bit better, but getting too much attention is not really what I want. I will probably keep the install page as-is and the extension unlisted.

@jspenguin2017
Copy link
Owner Author

Alright, time to work on a syntax highlighter!
image

@github-actions github-actions bot added the Archived This thread was archived, open new issues for similar problems. label Aug 24, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Aug 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Archived This thread was archived, open new issues for similar problems. Fixed
Projects
None yet
Development

No branches or pull requests

2 participants