Skip to content

Conversation

@andreysaksonov
Copy link

There is a corresponding issue regarding "github" checkver.ps1 code: #2115

It is workarounded here by custom regex for now.

@rasa
Copy link
Member

rasa commented Mar 11, 2018

Does it make sense to have the word .RELEASE in the version?

Copy link
Member

@brandon93s brandon93s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably better suited for scoop-extras alongside STS: https://github.com/lukesampson/scoop-extras/blob/master/sts.json

"homepage": "https://projects.spring.io/spring-boot/",
"version": "2.0.0.RELEASE",
"license": "Apache 2.0",
"hash": "45362FCB133E5DB84A771DD37AF4D8B9655D936877F8E537DBDE2C1D648E488A",
Copy link
Member

@brandon93s brandon93s Mar 11, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hash is available at $url.sha256. Add the following to autoupdate to update the hash without needing to download the file:

"hash": {
    "mode": "extract",
    "url": "$url.sha256"
}

Copy link
Member

@r15ch13 r15ch13 Mar 11, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brandon93s The mode property can be omitted, it defaults to extract

@andreysaksonov
Copy link
Author

Replaced with PR to extras ScoopInstaller/Extras#838

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

Successfully merging this pull request may close these issues.

4 participants