AlfredWorkflow.com icon indicating copy to clipboard operation
AlfredWorkflow.com copied to clipboard

How to update new version of my workflow?

Open hzlzh opened this issue 11 years ago • 5 comments

Situation:

A new version v1.1 of the workflow named XXX released, how to cover/update the previous version v1.0?

Way 1(recommend):

  1. Firstly Fork the github repo https://github.com/hzlzh/AlfredWorkflow.com/
  2. Check out all the code and files into your local
  3. Update the exact workflow download file under /Downloads/Workflows/XXX..alfredworkflow and also /Sources/Workflows/XXX
  4. Submit&Sync your update to your forked repo.
  5. Then send pull request to the original repo and I'll approve your submit(within 6 hours).
  6. Everything now is synced to v1.1 perfectly.

Way 2(If you don't use Github):

  1. re-submit your workflow XXX version v1.1 to the site submit page
  2. I' delete the old version v1.0 (within 6 hours) manually.

ps: There is no need for you to update JSON API, it will be updated with github repo sync, just be a little patient.

Check other developers' pull request action:

https://github.com/hzlzh/AlfredWorkflow.com/pulls?direction=desc&page=1&sort=created&state=closed

If you get any other questions, please let me know.

hzlzh avatar Apr 29 '13 15:04 hzlzh

Is it a good idea to create a submodule in /Sources/Workflow/XXX?

obstschale avatar May 07 '13 10:05 obstschale

@obstschale I thought about that, but git submodule is much more complex for normal developers, pull request is easy some how. However submodule is nice way~

hzlzh avatar May 07 '13 13:05 hzlzh

Indeed, submodule is a nice feature. But you're right it is quite complex. And I think the problem here is that the submodule should/must have the same folder structure as before.

obstschale avatar May 07 '13 23:05 obstschale

好早之前提交到网站上的包 workflow怎么更新啊? @hzlzh

wensonsmith avatar Mar 24 '16 11:03 wensonsmith

@wensonsmith 之前的已经不提供下载了,所以只需要更新 github 上的版本就好了

hzlzh avatar Mar 24 '16 11:03 hzlzh