Comments (3)
Hi, great to hear that you love the tool. When we created it, we only created the url creation for github which is why it looks like that. It would be great to natively support the urls for gitlab as well in my opinion! I don't think that we ever verified that it worked for gitlab unfortunately.
A PR to solve this from you would be the fastest way to get this into the code base if you are interested. Otherwise, feel free to open an issue regarding this 🙂
(Otherwise you could try to create a custom template that works for you)
from semantic-release-slack-bot.
I don't have time to fix this but I can point you in the right direction. I suggest that you extend this file so it figures out the git-service (GitHub, Bitbucket, Gitlab, etc.) and generate an extra property to the return object: release-url
which represents the URL to the release. In a first PR you can probably just check if it is gitlab, and leave the current implementation as a default if it is anything other than gitlab.
semantic-release-slack-bot/lib/getRepoInfo.js
Lines 3 to 20 in 41f7dee
Please add tests here as well:
https://github.com/juliuscc/semantic-release-slack-bot/blob/1cb7fabac9cea86ea7a88a54acae37eccc24d62a/test/getRepoInfo.test.js
from semantic-release-slack-bot.
I'm closing this for inactivity
from semantic-release-slack-bot.
Related Issues (20)
- SLACK CONNECTION FAILED Only absolute URLs are supported HOT 4
- Fails with latest semantic-release versions HOT 3
- TypeError: Cannot read properties of undefined (reading 'name') HOT 7
- Adding slack app fails after entering channel name HOT 6
- slack bot should extend the accepted semantic release version to 21.0 HOT 10
- Slack channel from configs doesn't work when using token
- Vulnerability issue in node-fetch
- Invalid release url for selfhosted GitLab HOT 1
- Slack Webhook doesn't respect proxy environment variables
- Unable to add the app
- Error after installation with micromark package
- Examples Request HOT 5
- Question: support for Github releases? HOT 1
- Bump dependencies versions HOT 3
- Configuration for Slack channel HOT 10
- Support for [email protected] HOT 2
- [email protected] requires Node 14 which seems to be a breaking change HOT 4
- In the slack generated GitLab tag link is wrong! HOT 13
- Slack Message Showing version as a channel (private channel) HOT 9
- Is SLACK_ICON and SLACK_NAME working? 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 semantic-release-slack-bot.