regro / rever

Releaser of Versions
https://regro.github.io/rever-docs/
BSD 3-Clause "New" or "Revised" License
74 stars 34 forks source link

Cannot run a specific activity #16

Closed asmeurer closed 7 years ago

asmeurer commented 7 years ago

If I use rever -e activity I get a KeyError.

$rever 1.1.rc1 -e test
Traceback (most recent call last):
  File "/Users/aaronmeurer/anaconda3/bin/rever", line 3, in <module>
    main()
  File "/Users/aaronmeurer/anaconda3/lib/python3.5/site-packages/rever/main.xsh", line 151, in main
    env_main(args=args)
  File "/Users/aaronmeurer/anaconda3/lib/python3.5/site-packages/rever/main.xsh", line 140, in env_main
    running_activities(ns)
  File "/Users/aaronmeurer/anaconda3/lib/python3.5/site-packages/rever/main.xsh", line 45, in running_activities
    $RUNNING_ACTIVITIES = acts[entry]
KeyError: 'test'
scopatz commented 7 years ago

What does the rever.xsh file look like?

asmeurer commented 7 years ago

https://github.com/sympy/sympy/blob/1.1/release/rever.xsh

Seeing this now for GitHub_release.

asmeurer commented 7 years ago

I printed the acts dictionary, it's empty.

scopatz commented 7 years ago

You are supposed to use rever -a name to run a specific activity