Comments (3)
Happening to me as well.
I believe this is occuring due to the logic of this function https://github.com/byCedric/semantic-release-expo/blob/develop/src/version.ts#L21.
Somewhat recently, the expo sdk version was removed from app.json
(upgrading sdk versions with the expo CLI removed it automatically). If this value is blank, the function will return 0
.
I just confirmed that adding back in e.g. "sdkVersion": "38.0.0",
makes this work as expected again. Since the value is now optional in app.json
, it would be best to switch to the same strategy used by expo: https://forums.expo.io/t/expo-36-upgrade-from-cli-removes-sdkversion-from-app-json-why/34634/3.
from semantic-release-expo.
I've encountered this issue on two projects (one new, one > 1 year old), confirming that @kaminskypavel's solution has resolved the issue for me.
from semantic-release-expo.
a follow up :
changing the strategy to
"versions": { "version": "${next.raw}", "android": "${increment}", <----------- "ios": "${next.raw}" }
[10:23:46 AM] [semantic-release] › ℹ Start step "prepare" of plugin "semantic-release-expo"
[10:23:46 AM] [semantic-release] [semantic-release-expo] › ℹ Expo manifest version changed (1.1.0 => 1.1.1) in app.json
[10:23:46 AM] [semantic-release] [semantic-release-expo] › ℹ Expo manifest android version changed (0 => 1) in app.json <------------
[10:23:46 AM] [semantic-release] [semantic-release-expo] › ℹ Expo manifest ios version changed (1.1.0 => 1.1.1) in app.json
from semantic-release-expo.
Related Issues (20)
- Readme Feedback HOT 2
- Update library for usage with new manifest format HOT 2
- Invalid iOS buildNumber on alpha/beta releases HOT 5
- add support for app.config.js manifest HOT 8
- 2.2.3 does not update android.buildNumber, how can this plugin take care of my android versions? HOT 1
- Error: Cannot find module '@semantic-release/error' HOT 1
- Plugin overwrites keys outside of `expo` HOT 1
- An in-range update of @commitlint/travis-cli is breaking the build 🚨 HOT 2
- An in-range update of @types/fs-extra is breaking the build 🚨 HOT 2
- An in-range update of codecov is breaking the build 🚨 HOT 2
- An in-range update of @types/lodash is breaking the build 🚨 HOT 2
- An in-range update of @types/jest is breaking the build 🚨 HOT 4
- An in-range update of @types/node is breaking the build 🚨 HOT 17
- An in-range update of @types/jest is breaking the build 🚨 HOT 3
- An in-range update of ts-jest is breaking the build 🚨 HOT 2
- An in-range update of codecov is breaking the build 🚨 HOT 2
- An in-range update of @types/node is breaking the build 🚨 HOT 5
- GitHub action HOT 2
- An in-range update of @peakfijn/config-commitlint is breaking the build 🚨 HOT 3
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-expo.