Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clasp deploy doesn't work as expected #286

Closed
lgordey opened this issue Aug 10, 2018 · 3 comments
Closed

Clasp deploy doesn't work as expected #286

lgordey opened this issue Aug 10, 2018 · 3 comments
Milestone

Comments

@lgordey
Copy link
Contributor

lgordey commented Aug 10, 2018

Expected Behavior

After making local changes in someFunction I expect that after

clasp push
clasp deploy
clasp run someFunction

I'll see the result with just pushed local changes.

Actual Behavior

In fact after clasp push I should go to script gui and deploy it as API executable (followed instructions from here #172) using the mouse

image

Only after that action I can run

clasp run someFunction

and see the actual result.

Making clasp deploy or clasp redeploy doesn't help me to solve this.
Actually It adds new version (I can see it in gui) but clasp run someFunction shows me the old results of previous function state.

Steps to Reproduce the Problem

  1. Change function code
  2. clasp push
  3. clasp deploy
  4. clasp run someFunction

Specifications

  • Node version: 10.3.0
  • Version: 1.5.2
  • OS: macOS High Sierra 10.13.5

Maybe I'm doing something wrong?

@lgordey
Copy link
Contributor Author

lgordey commented Aug 10, 2018

I guess it's related to #63

@grant
Copy link
Contributor

grant commented Sep 13, 2018

I think redeploy should work. I believe modifications to the appsscript.json are required.
The web UI changes the appsscript.json, it's a bit confusing.

@grant
Copy link
Contributor

grant commented Jan 17, 2019

I think this issue should be fixed. The main issue being the manifest is out of sync between the local code and server code.

Please re-open with more specific instructions to reproduce the error.

@grant grant closed this as completed Jan 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants