I recently finished writing some technical literature that is getting published shortly. It took me two years to write it (mostly due to my procrastination). I am proud of my work and it is not even remotely related to my employer's product (it is related to my hobby). I consider it to be a milestone in my career.
I did tell my manager and two other people that I am working on this literature when I started at this job(to prove that I have the skills for the job). I did not disclose a lot of detail about my work. My manager shared this information (as an interesting tidbit about me) that I am working on something as a hobby and people have had questions about it in the past (I answered them satisfactorily).
Now that I have completed this literature, I am not sure if it is fine sharing my accomplishment with my manager/colleagues. I have asked people close to me and they have been vague about their suggestions. One person asked me not to share this information since it might create the impression that I am less focused on the job and it would make people react differently due to jealousy.
On the other hand, my performance at work has been rocky to say the least. Recently, I screwed up big time but managed to recover from my mistakes in a short span. In my performance review,my reviewers gave me a good performance rating despite my mistakes. But I rated myself "below average" and this did not go well with the higher ups. I was genuinely not happy with my performance and I decided to reflect the same. I was warned that it goes to show that I did not understand my job requirements and I ranked below the organization's employee performance benchmark as I rated myself poorly. I was told that I would be put under "observation" if I repeat this mistake.
Now that my work is getting published, I am debating whether or not to share this accomplishment with my colleagues. I am concerned that I am already under "observation" and doing so would create an impression that I am involved in activities that might affect my performance at work. My manager advised that I am being very conservative while appraising myself and I need to learn "bragging".
My question is: a) Is it okay to reveal this accomplishment? b) Would it be considered bragging if I reveal this accomplishment?