Comments (16)
like this i guess https://github.com/cordoval/gush-1/pull/1/files
@kherge because now is
[Herrera\Version\Exception\InvalidStringRepresentationException]
The version string representation "@package-version@" is invalid.
from gush.
You have Box configured to search and replace @package_version@
and not @package-version@
(notice the underscore instead of the dash). Since it is not being replaced, you are actually declaring that your applications is version @package-version@
, which Amend does not recognize as a valid semantic version.
You need to decide to either reconfigure Box to replace package-version
or fix the class so that it uses package_version
instead.
from gush.
same error but with package_version, hmm i think i am missing something from your box configuration
from gush.
Hey, I just wanted to let you know that I haven't forgotten about this. I've just been busier than usual.
from gush.
shipped you an email
from gush.
I'm trying to figure out which repository I should be debugging. Do you want me to work on the fork you have under your handle, or the original one at @gushphp?
from gush.
this one is the official one @kherge gushphp/gush
from gush.
Okay. Do you have a test .gush.yml
file I can use? I can't seem to get to the update command to test anything.
from gush.
did you run gush configure
?
from gush.
I did, but it's asking for a bunch of information I don't have.
Do I need to create a test repository?
from gush.
~ cat ~/.gush/.gush.yml Luiss-MacBook-Pro-3 [13:07:21]
parameters:
cache-dir: /Users/cordoval/.gush/cache
adapter_class: \Gush\Adapter\GitHubAdapter
home: /Users/cordoval/.gush
authentication: { username: cordoval, password-or-token: youbet, http-auth-type: http_password }
github: { base_url: 'https://api.github.com/', repo_domain_url: github.com }
versioneye-token: NO_TOKEN
from gush.
Okay:
- If you intend on tagging your releases with a "v", like v1.3.7, you will need to add the following code to your
Application::__construct()
method:
if ('@' . 'package_version@' !== $version) {
$version = ltrim($version, 'v');
}
- Update to Box 2.4.4 just to be safe.
Let me know if that works for you. Make sure that whenever you generate a phar, it is always for a tagged release.
from gush.
why not just @package_version@
?
from gush.
you beast! Thanks a lot!
~ php gush.phar update Luiss-MacBook-Pro-3 [9:01:48]
Looking for updates...
Already up-to-date.
from gush.
Yay, glad it worked!
The reason it's not simply '@package_version@' = ...
is because Box will replace it with the actual version of Gush.
from gush.
oh i see so it scans the source code, i see. I wonder if it would be better to use an annotation reader
from gush.
Related Issues (20)
- Show which base-branch the pull-request will be opend against HOT 1
- New approach for pull-request:create template HOT 1
- [Gush org] Remove priority labels for issues and pull-requests HOT 3
- dockerize HOT 2
- // FIXME or // todo or @todos on code HOT 1
- [Bitbucket] Disallow forking repo to same org HOT 6
- [GitLab] getPullRequestCommits has a noop implementation HOT 4
- [Adapter] Allow to configure forks organization HOT 2
- recover quicker and simpler way to merge a PR
- add instructions to run docker gush so that it mounts foldr HOT 5
- gh-pages has been left out?
- finish updating .gush.yml via docker
- [RFC] Scripts under `.git/hooks/` may contain calls to undefined commands HOT 8
- remove more commands? HOT 9
- docker instructions HOT 1
- [RFC] `pull-request:merge --squash` should perform a rebase against base branch HOT 6
- [RFC] remove the --switch option for pull-request:merge?
- [UX] Detect and warn when fork is missing for pull-request:create HOT 2
- Error recovery for pull-request/issue : create
- Is this project abandoned? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gush.