Comments (4)
I think you can use the @semantic-release/exec plugin to achieve your purpose. Just execute your build command before publishing a release. Please see @semantic-release/exec for details.
from semantic-release-action.
I don't think this is actually the case:
semantic-release/exec#107
from semantic-release-action.
I don't think this is actually the case:
semantic-release/exec#107
Is there anything problem with that issue? For your issue, you can try to use the publishCmd
hook of semantic-release/exec
to build your program. But this is beyond the scope of this action.
from semantic-release-action.
I ended up getting it working:
[
"@semantic-release/exec",
{
"prepareCmd": "sed -i 's/<version>/${nextRelease.version}/' src/index.ts"
}
]
from semantic-release-action.
Related Issues (20)
- Does not support semantic-release version 20 HOT 3
- Release action fails with non-specific error HOT 2
- Error: Error: Command failed: npm install HOT 10
- Is now mandatory NPM_TOKEN to run semantic-release? If yes is possible to run it without publish on NPMJS website?
- Add action typing
- Get version from dry-run mode. HOT 1
- BUG: DRY_RUN still creates release... HOT 1
- Incompatibility with semantic-release >v20 HOT 13
- ESM Error on Semantic Release Version 19.0.5 HOT 2
- `CI = false` & `dryrun = true` does not result in prelease build HOT 2
- override plugin version HOT 2
- Incompatibility with v22 of semantic-release HOT 4
- workflow_run causes semantic-release-action to reference wrong branch HOT 1
- `perf` prefix triggered a patch release. HOT 2
- [semantic-release] › ✖ EGITNOPERMISSION Cannot push to the Git repository
- Add repository_url input
- An error occurred while running semantic-release: Error: Cannot find module 'xxxxx' with 4.1.0 HOT 3
- ESM fail HOT 1
- Error: RangeError: Invalid time value HOT 1
- Outputs dry_run var from the github action
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 semantic-release-action.